Do not fail tests in Yolo v7 model was not found.

This commit is contained in:
Alexander Smorkalov 2022-10-24 17:59:18 +03:00
parent 7d1589d407
commit 22f8fb4d5c

View File

@ -2395,7 +2395,7 @@ TEST_P(Test_ONNX_layers, CumSum)
// 4. 1D mat dimension issue with the output of range operator // 4. 1D mat dimension issue with the output of range operator
TEST_P(Test_ONNX_layers, YOLOv7) 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"); std::string imgPath = _tf("../dog_orig_size.png");
Size targetSize{640, 640}; Size targetSize{640, 640};