mirror of
https://github.com/opencv/opencv.git
synced 2026-09-15 07:29:07 -05:00
test: fix usage of findDataFile()
misused 'optional' mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user