|
|
@ -272,12 +272,12 @@ class Test_Torch_nets : public DNNTestLayer {}; |
|
|
|
|
|
|
|
|
|
|
|
TEST_P(Test_Torch_nets, OpenFace_accuracy) |
|
|
|
TEST_P(Test_Torch_nets, OpenFace_accuracy) |
|
|
|
{ |
|
|
|
{ |
|
|
|
#if defined(INF_ENGINE_RELEASE) && (INF_ENGINE_RELEASE < 2018030000 || INF_ENGINE_RELEASE == 2018050000) |
|
|
|
#if defined(INF_ENGINE_RELEASE) && (INF_ENGINE_RELEASE < 2018030000) |
|
|
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD) |
|
|
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD) |
|
|
|
throw SkipTestException(""); |
|
|
|
throw SkipTestException(""); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
checkBackend(); |
|
|
|
checkBackend(); |
|
|
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16) |
|
|
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16 && INF_ENGINE_RELEASE != 2018050000) |
|
|
|
throw SkipTestException(""); |
|
|
|
throw SkipTestException(""); |
|
|
|
|
|
|
|
|
|
|
|
const string model = findDataFile("dnn/openface_nn4.small2.v1.t7", false); |
|
|
|
const string model = findDataFile("dnn/openface_nn4.small2.v1.t7", false); |
|
|
|