Skip to content

Commit bfd8f1f

Browse files
refine docs
1 parent 3ef50ac commit bfd8f1f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

deploy/cpp_infer/readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ PaddleVideo模型部署。
194194
以PP-TSM为例,上述参数如下(xxx部分根据用户自己机器情况对应修改)
195195

196196
```bash
197-
OPENCV_DIR=/xxx/xxx/xxx/xxx/xxx/xxx/opencv3
198-
LIB_DIR=/xxx/xxx/xxx/xxx/xxx/paddle_inference
199-
CUDA_LIB_DIR=/xxx/xxx/cuda-xxx/lib64
200-
CUDNN_LIB_DIR=/xxx/xxx/cuda-xxx/lib64
201-
TENSORRT_DIR=/xxx/xxx/TensorRT-7.0.0.11
197+
OPENCV_DIR=/path/to/opencv3
198+
LIB_DIR=/path/to/paddle_inference
199+
CUDA_LIB_DIR=/path/to/cuda/lib64
200+
CUDNN_LIB_DIR=/path/to/cuda/lib64
201+
TENSORRT_DIR=/path/to/TensorRT-x.x.x.x
202202
```
203203

204204
其中,`OPENCV_DIR`为opencv编译安装的地址;`LIB_DIR`为下载(`paddle_inference`文件夹)或者编译生成的Paddle预测库地址(`build/paddle_inference_install_dir`文件夹);`CUDA_LIB_DIR`为cuda库文件地址,在docker中为`/usr/local/cuda/lib64``CUDNN_LIB_DIR`为cudnn库文件地址,在docker中为`/usr/lib/x86_64-linux-gnu/`**注意:以上路径都写绝对路径,不要写相对路径。**

deploy/cpp_infer/readme_en.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ There are two ways to obtain the Paddle prediction library, which will be descri
194194
Take PP-TSM as an example, the above parameters are as follows (the xxx part is modified according to the user's own machine situation)
195195
196196
```bash
197-
OPENCV_DIR=/xxx/xxx/xxx/xxx/xxx/xxx/opencv3
198-
LIB_DIR=/xxx/xxx/xxx/xxx/xxx/paddle_inference
199-
CUDA_LIB_DIR=/xxx/xxx/cuda-xxx/lib64
200-
CUDNN_LIB_DIR=/xxx/xxx/cuda-xxx/lib64
201-
TENSORRT_DIR=/xxx/xxx/TensorRT-7.0.0.11
197+
OPENCV_DIR=/path/to/opencv3
198+
LIB_DIR=/path/to/paddle_inference
199+
CUDA_LIB_DIR=/path/to/cuda/lib64
200+
CUDNN_LIB_DIR=/path/to/cuda/lib64
201+
TENSORRT_DIR=/path/to/TensorRT-x.x.x.x
202202
```
203203
204204
Among them, `OPENCV_DIR` is the address where opencv is compiled and installed; `LIB_DIR` is the download (`paddle_inference` folder) or compiled Paddle prediction library address (`build/paddle_inference_install_dir` folder); `CUDA_LIB_DIR` is the cuda library file address , In docker, it is `/usr/local/cuda/lib64`; `CUDNN_LIB_DIR` is the address of the cudnn library file, in docker it is `/usr/lib/x86_64-linux-gnu/`. **Note: The above paths are written as absolute paths, do not write relative paths. **

0 commit comments

Comments
 (0)