Commit 545f8a8c authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #16205 from alalek:fix_dnn_test_data

parents 71ef76ec 97b6068c
...@@ -253,7 +253,7 @@ TEST_P(Test_Model, Keypoints_pose) ...@@ -253,7 +253,7 @@ TEST_P(Test_Model, Keypoints_pose)
#endif #endif
Mat inp = imread(_tf("pose.png")); 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")); Mat exp = blobFromNPY(_tf("keypoints_exp.npy"));
...@@ -274,7 +274,7 @@ TEST_P(Test_Model, Keypoints_face) ...@@ -274,7 +274,7 @@ TEST_P(Test_Model, Keypoints_face)
#endif #endif
Mat inp = imread(_tf("gray_face.png"), 0); 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")); Mat exp = blobFromNPY(_tf("facial_keypoints_exp.npy"));
Size size{224, 224}; Size size{224, 224};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment