From 84e79e8760ba2ef7fbc3972d865316af9aade014 Mon Sep 17 00:00:00 2001 From: cnn Date: Thu, 25 Feb 2021 16:42:02 +0800 Subject: [PATCH] [doc] fix doc link (#2262) * fix doc link, test=dygraph, test=document --- deploy/cpp/docs/linux_build.md | 5 ++--- dygraph/deploy/cpp/README.md | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy/cpp/docs/linux_build.md b/deploy/cpp/docs/linux_build.md index ba018e21d..446f225f7 100644 --- a/deploy/cpp/docs/linux_build.md +++ b/deploy/cpp/docs/linux_build.md @@ -68,10 +68,9 @@ CUDA_LIB=/path/to/cuda/lib # CUDNN 的 lib 路径 CUDNN_LIB=/path/to/cudnn/lib -修改脚本设置好主要参数后,执行`build`脚本: -```shell +# 修改脚本设置好主要参数后,执行`build`脚本: sh ./scripts/build.sh -``` + # 请检查以上各个路径是否正确 diff --git a/dygraph/deploy/cpp/README.md b/dygraph/deploy/cpp/README.md index 69cb26e85..c9962bd4a 100644 --- a/dygraph/deploy/cpp/README.md +++ b/dygraph/deploy/cpp/README.md @@ -68,5 +68,5 @@ yolov3_darknet # 模型目录 ### 3.2 编译 仅支持在`Windows`和`Linux`平台编译和使用 -- [Linux 编译指南](https://github.com/PaddlePaddle/PaddleDetection/blob/master/deploy/cpp/docs/linux_build.md) -- [Windows编译指南(使用Visual Studio 2019)](https://github.com/PaddlePaddle/PaddleDetection/blob/master/deploy/cpp/docs/windows_vs2019_build.md) +- [Linux 编译指南](docs/linux_build.md) +- [Windows编译指南(使用Visual Studio 2019)](docs/windows_vs2019_build.md) -- GitLab