mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Merge pull request #14227 from dkurt:fix_build_with_ie
This commit is contained in:
commit
2f288f94e5
@ -178,12 +178,13 @@ TEST_P(DNNTestOpenVINO, models)
|
|||||||
Target target = (dnn::Target)(int)get<0>(GetParam());
|
Target target = (dnn::Target)(int)get<0>(GetParam());
|
||||||
std::string modelName = get<1>(GetParam());
|
std::string modelName = get<1>(GetParam());
|
||||||
std::string precision = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? "FP16" : "FP32";
|
std::string precision = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? "FP16" : "FP32";
|
||||||
|
std::string prefix;
|
||||||
|
|
||||||
#ifdef INF_ENGINE_RELEASE
|
#ifdef INF_ENGINE_RELEASE
|
||||||
#if INF_ENGINE_RELEASE <= 2018050000
|
#if INF_ENGINE_RELEASE <= 2018050000
|
||||||
std::string prefix = utils::fs::join("intel_models",
|
prefix = utils::fs::join("intel_models",
|
||||||
utils::fs::join(modelName,
|
utils::fs::join(modelName,
|
||||||
utils::fs::join(precision, modelName)));
|
utils::fs::join(precision, modelName)));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user