From 97b6068c46b1506f7e7029b81a1973ba2b4443e8 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 19 Dec 2019 19:31:59 +0000 Subject: [PATCH] dnn(test): don't require downloaded data --- modules/dnn/test/test_model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/test/test_model.cpp b/modules/dnn/test/test_model.cpp index 5704c4b3fd..7a4de4ee6a 100644 --- a/modules/dnn/test/test_model.cpp +++ b/modules/dnn/test/test_model.cpp @@ -253,7 +253,7 @@ TEST_P(Test_Model, Keypoints_pose) #endif Mat inp = imread(_tf("pose.png")); - std::string weights = _tf("onnx/models/lightweight_pose_estimation.onnx"); + std::string weights = _tf("onnx/models/lightweight_pose_estimation.onnx", false); Mat exp = blobFromNPY(_tf("keypoints_exp.npy")); @@ -274,7 +274,7 @@ TEST_P(Test_Model, Keypoints_face) #endif Mat inp = imread(_tf("gray_face.png"), 0); - std::string weights = _tf("onnx/models/facial_keypoints.onnx"); + std::string weights = _tf("onnx/models/facial_keypoints.onnx", false); Mat exp = blobFromNPY(_tf("facial_keypoints_exp.npy")); Size size{224, 224};