mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
ts: runtime check for misused 'optional' test data files
This commit is contained in:
@@ -205,7 +205,7 @@ TEST(Reproducibility_FCN, Accuracy)
|
||||
Net net;
|
||||
{
|
||||
const string proto = findDataFile("dnn/fcn8s-heavy-pascal.prototxt");
|
||||
const string model = findDataFile("dnn/fcn8s-heavy-pascal.caffemodel");
|
||||
const string model = findDataFile("dnn/fcn8s-heavy-pascal.caffemodel", false);
|
||||
net = readNetFromCaffe(proto, model);
|
||||
ASSERT_FALSE(net.empty());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user