update 使用双显卡

dev_lsy
liusiyang 4 weeks ago
parent 5d92931141
commit 4dd6cfe2a0

@ -102,7 +102,7 @@ int main(int argc, char *argv[])
GPU_Config gpu; GPU_Config gpu;
gpu.gpu_0 = true; gpu.gpu_0 = true;
gpu.gpu_1 = false; gpu.gpu_1 = true;
AI_Factory->InitALLAIModle(gpu); AI_Factory->InitALLAIModle(gpu);
std::shared_ptr<AIModel_Base> BOE_Edge_Detect = AI_Factory->BOE_Edge_Detect; std::shared_ptr<AIModel_Base> BOE_Edge_Detect = AI_Factory->BOE_Edge_Detect;

@ -240,7 +240,7 @@ int ALLImgCheckAnalysisy::InitAIFactory()
GPU_Config gpu; GPU_Config gpu;
gpu.gpu_0 = true; gpu.gpu_0 = true;
gpu.gpu_1 = false; gpu.gpu_1 = true;
AI_Factory->InitALLAIModle(gpu); AI_Factory->InitALLAIModle(gpu);
return 0; return 0;

Loading…
Cancel
Save