1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

dnn: allow to use external protobuf

"custom layers" feature will not work properly in these builds.
This commit is contained in:
Alexander Alekhin
2018-07-09 17:19:35 +03:00
parent e41f19d2f3
commit e2b5d11290
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -1149,7 +1149,11 @@ private:
int outWidth, outHeight, zoomFactor;
};
#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
TEST_P(Test_Caffe_layers, Interp)
#else
TEST_P(Test_Caffe_layers, DISABLED_Interp) // requires patched protobuf (available in OpenCV source tree only)
#endif
{
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD)
throw SkipTestException("");