Fix AMD and OpenVINO
This commit is contained in:
@@ -355,6 +355,7 @@ extern "C" ANSODENGINE_API std::string CreateANSODHandle(ANSCENTER::ANSODBase**
|
||||
// TEXTSCENSE = 6
|
||||
|
||||
//Force modelType to ANSONNXYOLO and ANSRTYOLO if detectionType is detection and modelType is TENSORRT or ONNX
|
||||
|
||||
if ((modelType == 4) || // TensorRT
|
||||
(modelType == 14)|| // TensorRT Yolov10
|
||||
(modelType == 22)|| // TensorRT Pose
|
||||
@@ -376,7 +377,6 @@ extern "C" ANSODENGINE_API std::string CreateANSODHandle(ANSCENTER::ANSODBase**
|
||||
}
|
||||
|
||||
|
||||
|
||||
switch (detectionType) {
|
||||
case 0:
|
||||
modelConfig.detectionType = ANSCENTER::DetectionType::CLASSIFICATION;
|
||||
|
||||
Reference in New Issue
Block a user