Fix AMD and OpenVINO

This commit is contained in:
2026-04-08 13:45:52 +10:00
parent a4a8caaa86
commit 69787b0ff0
15 changed files with 1209 additions and 132 deletions

View File

@@ -1449,8 +1449,8 @@ int YOLO26ODYolo12Test() {
}
int YOLO26ODYolo11Test() {
std::string modelFilePath = "C:\\Projects\\ANSVIS\\Models\\ANS_VehicleDetection_v2.0.zip";
std::string videoFile = "E:\\Programs\\DemoAssets\\Videos\\road.mp4";
int modelType = 31; // ONNX YOLO (30) RT YOLO (31)
std::string videoFile = "C:\\ProgramData\\ANSCENTER\\Shared\\road.mp4";
int modelType = 3; // ONNX YOLO (30) RT YOLO (31)
VideoDetectorEngine(modelFilePath, videoFile, modelType);
return 0;
}
@@ -1861,12 +1861,12 @@ int main()
//YOLO26POSEYolo11Test();
//YOLO26CLYolo11Test();
//YOLO26ODYolo12Test();
//YOLO26ODYolo11Test();
YOLO26ODYolo11Test();
//YOLO26ODYolo10Test();
//YOLO26OBBYolo11Test();
//SAM3ONNX_ImageTest(); // ORT reference — runs first, prints decoder input stats
//SAM3TRT_ImageTest(); // TRT under test — compare decoder input stats with above
CustomModel_StressTest_FilePlayer(); // Multi-task stress test (LabVIEW flow)
//CustomModel_StressTest_FilePlayer(); // Multi-task stress test (LabVIEW flow)
//SAM3TRT_UnitTest(); // TensorRT SAM3 test (in ANSSAM3-UnitTest.cpp)
//TensorRT10Test();
//FireNSmokeCustomDetection();