Enabled tests on IE backend

This commit is contained in:
Liubov Batanina 2019-02-11 12:39:28 +03:00
parent b068d26fad
commit 6b4becfd03
3 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ public:
{
if (backendId == DNN_BACKEND_INFERENCE_ENGINE)
{
if (!(pnorm == 2 || pnorm == 1)) {
if (pnorm != 2) {
return false;
}
return preferableTarget == DNN_TARGET_MYRIAD ? !acrossSpatial : startAxis == 1;

View File

@ -226,7 +226,7 @@ TEST_P(DNNTestNetwork, OpenPose_pose_mpi_faster_4_stages)
TEST_P(DNNTestNetwork, OpenFace)
{
#if defined(INF_ENGINE_RELEASE)
#if (INF_ENGINE_RELEASE < 2018030000 || INF_ENGINE_RELEASE == 2018050000)
#if (INF_ENGINE_RELEASE < 2018030000)
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD)
throw SkipTestException("");
#elif INF_ENGINE_RELEASE < 2018040000

View File

@ -272,12 +272,12 @@ class Test_Torch_nets : public DNNTestLayer {};
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)
throw SkipTestException("");
#endif
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("");
const string model = findDataFile("dnn/openface_nn4.small2.v1.t7", false);