Do not fail tests in Yolo v7 model was not found.
authorAlexander Smorkalov <alexander.smorkalov@xperience.ai>
Mon, 24 Oct 2022 14:59:18 +0000 (17:59 +0300)
committerAlexander Smorkalov <alexander.smorkalov@xperience.ai>
Mon, 24 Oct 2022 14:59:18 +0000 (17:59 +0300)
modules/dnn/test/test_onnx_importer.cpp

index abafe6f..c901957 100644 (file)
@@ -2395,7 +2395,7 @@ TEST_P(Test_ONNX_layers, CumSum)
 //  4. 1D mat dimension issue with the output of range operator
 TEST_P(Test_ONNX_layers, YOLOv7)
 {
-    std::string weightPath = _tf("models/yolov7_not_simplified.onnx");
+    std::string weightPath = _tf("models/yolov7_not_simplified.onnx", false);
     std::string imgPath = _tf("../dog_orig_size.png");
 
     Size targetSize{640, 640};