Skip to content

Commit 37683ac

Browse files
authored
Merge pull request opencv#22687 from asmorkalov:as/yolo7_test
Do not fail tests in Yolo v7 model was not found
2 parents 7d1589d + 22f8fb4 commit 37683ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dnn/test/test_onnx_importer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,7 @@ TEST_P(Test_ONNX_layers, CumSum)
23952395
// 4. 1D mat dimension issue with the output of range operator
23962396
TEST_P(Test_ONNX_layers, YOLOv7)
23972397
{
2398-
std::string weightPath = _tf("models/yolov7_not_simplified.onnx");
2398+
std::string weightPath = _tf("models/yolov7_not_simplified.onnx", false);
23992399
std::string imgPath = _tf("../dog_orig_size.png");
24002400

24012401
Size targetSize{640, 640};

0 commit comments

Comments
 (0)