1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #29526 from asmorkalov:as/model_name_update

Renamed model to prevent name conflict.
This commit is contained in:
Alexander Smorkalov
2026-07-16 08:56:18 +03:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ PERF_TEST_P_(DNNTestNetwork, YOLOv3)
Mat sample = imread(findDataFile("dnn/dog416.png"));
cv::resize(sample, sample, Size(416, 416));
Mat inp = blobFromImage(sample, 1.0 / 255.0, Size(), Scalar(), true);
processNet("dnn/yolov3.onnx", "", inp);
processNet("dnn/yolov3-converted.onnx", "", inp);
}
PERF_TEST_P_(DNNTestNetwork, YOLOv4)
+1 -1
View File
@@ -341,7 +341,7 @@ TEST_P(Test_YOLO_nets, YOLOv3)
scoreDiff = 0.04;
iouDiff = 0.03;
}
std::string model_file = "yolov3.onnx";
std::string model_file = "yolov3-converted.onnx";
{
SCOPED_TRACE("batch size 1");
+1 -1
View File
@@ -364,7 +364,7 @@ TEST_P(Test_Model, YOLOv3)
cv::resize(img, img, inputSize);
Mat blob = blobFromImage(img, 1.0 / 255.0, inputSize, Scalar(), true, false);
Net net = readNet(_tf("yolov3.onnx", false));
Net net = readNet(_tf("yolov3-converted.onnx", false));
net.setPreferableBackend(backend);
net.setPreferableTarget(target);
net.setInput(blob);