From 28eeaa5b22ece1630f4e29b9996b39681b508688 Mon Sep 17 00:00:00 2001 From: Channingss Date: Thu, 14 May 2020 07:36:52 +0000 Subject: [PATCH] fix bug for build --- deploy/openvino/src/classifier.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/openvino/src/classifier.cpp b/deploy/openvino/src/classifier.cpp index b173f2a..64e3807 100644 --- a/deploy/openvino/src/classifier.cpp +++ b/deploy/openvino/src/classifier.cpp @@ -21,10 +21,10 @@ #include "include/paddlex/paddlex.h" -DEFINE_string(model_dir, "../../../openvino/model-optimizer/resnet18/best_model.xml", "Path of inference model"); -DEFINE_string(cfg_dir, "../../../openvino/model-optimizer/resnet18/model.yml", "Path of inference model"); +DEFINE_string(model_dir, "", "Path of inference model"); +DEFINE_string(cfg_dir, "", "Path of inference model"); DEFINE_string(device, "CPU", "Device name"); -DEFINE_string(image, "/chenlingchi/docker/unet_test.jpg", "Path of test image file"); +DEFINE_string(image, "", "Path of test image file"); DEFINE_string(image_list, "", "Path of test image list file"); int main(int argc, char** argv) { -- GitLab