mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #17439 from alalek:fix_dnn_test_required_file
This commit is contained in:
commit
8de176988d
@ -1138,7 +1138,7 @@ TEST_P(Test_TensorFlow_nets, EfficientDet)
|
|||||||
}
|
}
|
||||||
checkBackend();
|
checkBackend();
|
||||||
std::string proto = findDataFile("dnn/efficientdet-d0.pbtxt");
|
std::string proto = findDataFile("dnn/efficientdet-d0.pbtxt");
|
||||||
std::string model = findDataFile("dnn/efficientdet-d0.pb");
|
std::string model = findDataFile("dnn/efficientdet-d0.pb", false);
|
||||||
|
|
||||||
Net net = readNetFromTensorflow(model, proto);
|
Net net = readNetFromTensorflow(model, proto);
|
||||||
Mat img = imread(findDataFile("dnn/dog416.png"));
|
Mat img = imread(findDataFile("dnn/dog416.png"));
|
||||||
|
Loading…
Reference in New Issue
Block a user