Skip to content

Commit

Permalink
fix some wrong links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingQianMM committed Sep 10, 2021
1 parent 88ebfb1 commit 92034f0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions deploy/cpp/docs/compile/tensorrt/trt.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ $ docker run -it --gpus=all --name tensorrt-onnx -v ~/paddle2onnx/:/paddle2onnx

```
$ git clone https://github.com/PaddlePaddle/PaddleX.git
$ cd PaddleX
$ git checkout deploykit
$ cd deploy/cpp
$ cd PaddleX/deploy/cpp
$ git clone https://github.com/NVIDIA/TensorRT.git
# 如果不是其他版本的容器, 将cuda_dir路径换成自己的cuda路径即可
$ sh scripts/tensorrt_build.sh --tensorrt_dir=/usr/lib/x86_64-linux-gnu/ --cuda_dir=/usr/local/cuda-11.1/targets/x86_64-linux/ --tensorrt_header=./TensorRT/
Expand Down
1 change: 0 additions & 1 deletion deploy/cpp/docs/compile/triton/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ curl -v localhost:8000/v2/health/ready
```
git clone https://github.com/PaddlePaddle/PaddleX.git
cd PaddleX
git checkout deploykit
```

### 3.2 启动Triton客户端容器
Expand Down
2 changes: 1 addition & 1 deletion paddlex/cv/models/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def default_optimizer(self, parameters, learning_rate, warmup_steps,
exit=False)
logging.error(
"See this doc for more information: "
"https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/appendix/parameters.md#notice",
"https://github.com/PaddlePaddle/PaddleX/blob/release/2.0.0/docs/parameters.md",
exit=False)
logging.error(
"warmup_steps should less than {} or lr_decay_epochs[0] greater than {}, "
Expand Down
2 changes: 1 addition & 1 deletion paddlex/cv/models/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def default_optimizer(self, parameters, learning_rate, warmup_steps,
exit=False)
logging.error(
"See this doc for more information: "
"https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/appendix/parameters.md#notice",
"https://github.com/PaddlePaddle/PaddleX/blob/release/2.0.0/docs/parameters.md",
exit=False)

scheduler = paddle.optimizer.lr.LinearWarmup(
Expand Down

0 comments on commit 92034f0

Please sign in to comment.