Selaa lähdekoodia

fix some wrong links in docs

FlyingQianMM 4 vuotta sitten
vanhempi
commit
92034f01e2

+ 1 - 3
deploy/cpp/docs/compile/tensorrt/trt.md

@@ -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/

+ 0 - 1
deploy/cpp/docs/compile/triton/docker.md

@@ -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客户端容器

+ 1 - 1
paddlex/cv/models/classifier.py

@@ -158,7 +158,7 @@ class BaseClassifier(BaseModel):
                     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 {}, "

+ 1 - 1
paddlex/cv/models/detector.py

@@ -127,7 +127,7 @@ class BaseDetector(BaseModel):
                     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(