更新GPU
This commit is contained in:
@ -409,7 +409,7 @@ namespace DH.Devices.Vision
|
||||
}
|
||||
MLInit mLInit;
|
||||
string inferenceDevice = "CPU";
|
||||
if (dc.IsEnableGPU)
|
||||
if (dc.ModelType== ModelType.目标检测GPU)
|
||||
{
|
||||
inferenceDevice = "GPU";
|
||||
mLInit = new MLInit(dc.ModelPath, isGPU, coreInx, dc.ModelconfThreshold);
|
||||
|
Reference in New Issue
Block a user