test: fix usage of findDataFile()

misused 'optional' mode
This commit is contained in:
Alexander Alekhin
2019-06-20 16:43:28 +03:00
parent 264679a725
commit 13a782c039
12 changed files with 114 additions and 84 deletions

View File

@@ -38,7 +38,7 @@ namespace opencv_test {
static caffe::Net<float>* initNet(std::string proto, std::string weights)
{
proto = findDataFile(proto, false);
proto = findDataFile(proto);
weights = findDataFile(weights, false);
#ifdef HAVE_CLCAFFE