From e835ee6c83bb9f8126dcc97b7da85f835f5aeb71 Mon Sep 17 00:00:00 2001 From: Sharron LIU Date: Fri, 6 Dec 2019 17:23:41 +0800 Subject: [PATCH] Enabling OpenVINO: added configure `openvino` Yaml config files under "cfg/examples/replication" were updated. Config "openvino" added to specify the target device for an OpenVINO model to execute. So far, it is supported to execute GQCNN OpenVINO models on CPU, GPU, or MYRIAD (Movidius NCS2). This config is set to OFF by default, for GQCNN with Tensorflow backend. Signed-off-by: Sharron LIU --- cfg/examples/replication/dex-net_2.0.yaml | 2 ++ cfg/examples/replication/dex-net_2.1.yaml | 4 +++- cfg/examples/replication/dex-net_3.0.yaml | 2 ++ cfg/examples/replication/dex-net_4.0_pj.yaml | 2 ++ cfg/examples/replication/dex-net_4.0_suction.yaml | 2 ++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cfg/examples/replication/dex-net_2.0.yaml b/cfg/examples/replication/dex-net_2.0.yaml index f2ba3ac9..7852e06f 100644 --- a/cfg/examples/replication/dex-net_2.0.yaml +++ b/cfg/examples/replication/dex-net_2.0.yaml @@ -64,6 +64,8 @@ policy: metric: type: gqcnn gqcnn_model: models/GQCNN-2.0 + # openvino: OFF|CPU|GPU|MYRIAD + openvino: OFF crop_height: 96 crop_width: 96 diff --git a/cfg/examples/replication/dex-net_2.1.yaml b/cfg/examples/replication/dex-net_2.1.yaml index 93391ea9..5fbc48a2 100644 --- a/cfg/examples/replication/dex-net_2.1.yaml +++ b/cfg/examples/replication/dex-net_2.1.yaml @@ -64,7 +64,9 @@ policy: metric: type: gqcnn gqcnn_model: models/GQCNN-2.1 - + # openvino: OFF|CPU|GPU|MYRIAD + openvino: OFF + crop_height: 96 crop_width: 96 diff --git a/cfg/examples/replication/dex-net_3.0.yaml b/cfg/examples/replication/dex-net_3.0.yaml index e8b9bca2..9e551f4e 100644 --- a/cfg/examples/replication/dex-net_3.0.yaml +++ b/cfg/examples/replication/dex-net_3.0.yaml @@ -58,6 +58,8 @@ policy: metric: type: gqcnn gqcnn_model: models/GQCNN-3.0 + # openvino: OFF|CPU|GPU|MYRIAD + openvino: OFF crop_height: 96 crop_width: 96 diff --git a/cfg/examples/replication/dex-net_4.0_pj.yaml b/cfg/examples/replication/dex-net_4.0_pj.yaml index 0e970c56..f4f8a964 100644 --- a/cfg/examples/replication/dex-net_4.0_pj.yaml +++ b/cfg/examples/replication/dex-net_4.0_pj.yaml @@ -63,6 +63,8 @@ policy: metric: type: gqcnn gqcnn_model: models/GQCNN-4.0-PJ + # openvino: OFF|CPU|GPU|MYRIAD + openvino: OFF crop_height: 96 crop_width: 96 diff --git a/cfg/examples/replication/dex-net_4.0_suction.yaml b/cfg/examples/replication/dex-net_4.0_suction.yaml index 1d8d5d9c..3bebcfe0 100644 --- a/cfg/examples/replication/dex-net_4.0_suction.yaml +++ b/cfg/examples/replication/dex-net_4.0_suction.yaml @@ -57,6 +57,8 @@ policy: metric: type: gqcnn gqcnn_model: models/GQCNN-4.0-SUCTION + # openvino: OFF|CPU|GPU|MYRIAD + openvino: OFF crop_height: 96 crop_width: 96