diff --git a/deploy/cpp/CMakeLists.txt b/deploy/cpp/CMakeLists.txt index f6eebc80bf6ffe9d47967c5335a5fe80aa1d6b5c..3f135af5978ac78b98fa0e64a864063168597ec1 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 4b3a6e8159b5bcff313cfc2e752201a28a2058d1..a2eb2f536039a77e645abcfc14c1224a84e8c483 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 836a2abfdcfbe2252a651ccf7bf22cda4922e932..2572236c5113fa7552bf13929391bc6538d61edd 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`,用户可根据自己的模型类型选择,其主要命令参数说明如下: | 参数 | 说明 | | ---- | ---- |