From 22f8fb4d5c5fe5902eafc5ddb7529dfcae4120c5 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 24 Oct 2022 17:59:18 +0300 Subject: [PATCH] Do not fail tests in Yolo v7 model was not found. --- modules/dnn/test/test_onnx_importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/test/test_onnx_importer.cpp b/modules/dnn/test/test_onnx_importer.cpp index abafe6f243..c90195783c 100644 --- a/modules/dnn/test/test_onnx_importer.cpp +++ b/modules/dnn/test/test_onnx_importer.cpp @@ -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};