From 07e9461e61bf88100beb39edf1fb50c45dcf0cce Mon Sep 17 00:00:00 2001 From: Channingss Date: Fri, 15 May 2020 02:25:35 +0000 Subject: [PATCH] update code --- deploy/cpp/CMakeLists.txt | 2 +- docs/deploy/deploy_cpp_linux.md | 6 +++--- docs/deploy/deploy_cpp_win_vs2019.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/cpp/CMakeLists.txt b/deploy/cpp/CMakeLists.txt index f6eebc8..3f135af 100644 --- a/deploy/cpp/CMakeLists.txt +++ b/deploy/cpp/CMakeLists.txt @@ -277,7 +277,7 @@ endif() file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/visualize.h" DESTINATION "${CMAKE_BINARY_DIR}/include/" ) -file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/transforms.h" +file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/results.h" DESTINATION "${CMAKE_BINARY_DIR}/include/" ) file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/paddlex.h" DESTINATION "${CMAKE_BINARY_DIR}/include/" ) diff --git a/docs/deploy/deploy_cpp_linux.md b/docs/deploy/deploy_cpp_linux.md index 4b3a6e8..a2eb2f5 100644 --- a/docs/deploy/deploy_cpp_linux.md +++ b/docs/deploy/deploy_cpp_linux.md @@ -95,7 +95,7 @@ make ``` ### Step5: 预测及可视化 -编译成功后,预测demo的可执行程序分别为`build/detector`,`build/classifer`,`build/segmenter`,用户可根据自己的模型类型选择,其主要命令参数说明如下: +编译成功后,预测demo的可执行程序分别为`build/demo/detector`,`build/demo/classifer`,`build/demo/segmenter`,用户可根据自己的模型类型选择,其主要命令参数说明如下: | 参数 | 说明 | | ---- | ---- | @@ -116,7 +116,7 @@ make 不使用`GPU`测试图片 `/path/to/xiaoduxiong.jpeg` ```shell -./build/detector --model_dir=/path/to/inference_model --image=/path/to/xiaoduxiong.jpeg --save_dir=output +./build/demo/detector --model_dir=/path/to/inference_model --image=/path/to/xiaoduxiong.jpeg --save_dir=output ``` 图片文件`可视化预测结果`会保存在`save_dir`参数设置的目录下。 @@ -131,6 +131,6 @@ make /path/to/images/xiaoduxiongn.jpeg ``` ```shell -./build/detector --model_dir=/path/to/models/inference_model --image_list=/root/projects/images_list.txt --use_gpu=1 --save_dir=output +./build/demo/detector --model_dir=/path/to/models/inference_model --image_list=/root/projects/images_list.txt --use_gpu=1 --save_dir=output ``` 图片文件`可视化预测结果`会保存在`save_dir`参数设置的目录下。 diff --git a/docs/deploy/deploy_cpp_win_vs2019.md b/docs/deploy/deploy_cpp_win_vs2019.md index 836a2ab..2572236 100644 --- a/docs/deploy/deploy_cpp_win_vs2019.md +++ b/docs/deploy/deploy_cpp_win_vs2019.md @@ -106,7 +106,7 @@ d: cd D:\projects\PaddleX\deploy\cpp\out\build\x64-Release ``` -编译成功后,预测demo的入口程序为`detector`,`classifer`,`segmenter`,用户可根据自己的模型类型选择,其主要命令参数说明如下: +编译成功后,预测demo的入口程序为`demo\detector`,`demo\classifer`,`demo\segmenter`,用户可根据自己的模型类型选择,其主要命令参数说明如下: | 参数 | 说明 | | ---- | ---- | -- GitLab