Add dldt verify data
authorKwanghoon Son <k.son@samsung.com>
Fri, 10 Apr 2020 03:58:08 +0000 (12:58 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 14 Apr 2020 00:42:53 +0000 (09:42 +0900)
update bin date (banana img) file

Change-Id: I5adc21e30f4afe5bf2ea41d0847f3399fb8ea6de
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
test/res/dldt_banana_classification.bin [new file with mode: 0644]
test/src/inference_engine_test.cpp

diff --git a/test/res/dldt_banana_classification.bin b/test/res/dldt_banana_classification.bin
new file mode 100644 (file)
index 0000000..519acfe
Binary files /dev/null and b/test/res/dldt_banana_classification.bin differ
index 1352c6220c3e54f37bbb58244bce33f8dbfb83e2..1199a24e4e7c7641a6fb9775e9779ba72ced081e 100644 (file)
@@ -925,7 +925,7 @@ TEST_P(InferenceEngineDldtTest, Inference)
                return;
        }
 
-       ret = engine->DumpProfileToFile("profile_data_" + backend_name + "_caffe_model.txt");
+       ret = engine->DumpProfileToFile("profile_data_" + backend_name + "_dldt_model.txt");
        if (ret != INFERENCE_ENGINE_ERROR_NONE) {
                delete engine;
                ASSERT_EQ(ret, INFERENCE_ENGINE_ERROR_NONE);
@@ -1165,6 +1165,6 @@ INSTANTIATE_TEST_CASE_P(Prefix, InferenceEngineCaffeTest,
 INSTANTIATE_TEST_CASE_P(Prefix, InferenceEngineDldtTest,
                testing::Values(
                        // DLDT
-                       ParamType_Infer("dldt", INFERENCE_TARGET_CUSTOM, TEST_FACE_DETECTION, 10, TENSOR_DATA_TYPE_FLOAT32, { "/opt/usr/images/dldt_banana_classification.bin" }, 224, 224, 3, { "data" }, { "prob" }, { "/usr/share/capi-media-vision/models/IC/dldt/googlenet-v1.xml", "/usr/share/capi-media-vision/models/IC/dldt/googlenet-v1.bin" }, { 954 })
+                       ParamType_Infer("dldt", INFERENCE_TARGET_CUSTOM, TEST_IMAGE_CLASSIFICATION, 10, TENSOR_DATA_TYPE_FLOAT32, { "/opt/usr/images/dldt_banana_classification.bin" }, 224, 224, 3, { "data" }, { "prob" }, { "/usr/share/capi-media-vision/models/IC/dldt/googlenet-v1.xml", "/usr/share/capi-media-vision/models/IC/dldt/googlenet-v1.bin" }, { 954 })
                )
 );
\ No newline at end of file