Skip to content

Commit 3eee512

Browse files
authored
update docs (#1071)
1 parent 55a2b99 commit 3eee512

9 files changed

+11
-11
lines changed

demo/mkldnn_quant/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ val/ILSVRC2012_val_00000002.jpg 0
117117
#### 准备预测推理库
118118

119119
用户可以从源码编译Paddle推理库,也可以直接下载推理库。
120-
- 用户可以从Paddle源码编译Paddle推理库,参考[从源码编译](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_guide/inference_deployment/inference/build_and_install_lib_cn.html#id12),使用release/2.0以上版本。
120+
- 用户可以从Paddle源码编译Paddle推理库,参考[从源码编译](https://paddleinference.paddlepaddle.org.cn/user_guides/source_compile.html),使用release/2.0以上版本。
121121

122-
- 用户也可以从Paddle官网下载发布的[预测库](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_guide/inference_deployment/inference/build_and_install_lib_cn.html)请选择`ubuntu14.04_cpu_avx_mkl` 最新发布版或者develop版
122+
- 用户也可以从Paddle官网下载发布的[预测库](https://paddleinference.paddlepaddle.org.cn/user_guides/download_lib.html)请选择最新发布版或者develop版
123123

124124

125125
#### 编译应用

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ make html
7474
## 2.2 预览文档
7575

7676
进入`PaddleSlim/docs/zh_cn/build/html`路径下。
77-
执行`python -m SimpleHTTPServer 8883`
77+
执行`python -m http.server 8883`
7878
假设当前机器IP为`server_ip`
7979

8080
通过浏览器查看链接`server_ip:8883`即可预览文档。

docs/zh_cn/cv/detection/static/paddledetection_slim_distillation_tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 目标检测模型蒸馏教程
22

3-
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/distillation/README.md
3+
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/distillation/README.md
44

55

66
## 示例结果

docs/zh_cn/cv/detection/static/paddledetection_slim_nas_tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 人脸检测模型小模型结构搜索教程
22

3-
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/nas/README.md
3+
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/nas/README.md
44

55
## 概述
66

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# 目标检测模型卷积通道剪裁教程
22

3-
请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/prune/README.md
3+
请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/prune/README.md

docs/zh_cn/cv/detection/static/paddledetection_slim_prune_dist_tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 目标检测模型蒸馏剪裁教程
22

3-
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/extensions/distill_pruned_model/README.md
3+
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/extensions/distill_pruned_model/README.md
44

55
## 概述
66

docs/zh_cn/cv/detection/static/paddledetection_slim_quantization_tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 目标检测模型量化教程
22

3-
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/quantization/README.md
3+
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/quantization/README.md
44

55

66
## 示例结果
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# 目标检测模型敏感度分析教程
22

3-
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/sensitive/README.md
3+
教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/sensitive/README.md

docs/zh_cn/tutorials/nas/static/sanas_darts_space.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ sa_nas.reward(float(valid_top1_list[-1] + valid_top1_list[-2]) / 2)
266266
搜索文件位于: [darts_sanas_demo](https://github.com/PaddlePaddle/PaddleSlim/blob/develop/demo/nas/sanas_darts_space.py),搜索过程中限制模型参数量为不大于3.77M。
267267
```shell
268268
cd demo/nas/
269-
python darts_nas.py
269+
python sanas_darts_space.py
270270
```
271271

272272
### 11. 利用demo下的脚本启动最终实验
273273
最终实验文件位于: [darts_sanas_demo](https://github.com/PaddlePaddle/PaddleSlim/blob/develop/demo/nas/sanas_darts_space.py),最终实验需要训练600epoch。以下示例输入token为`[5, 5, 0, 5, 5, 10, 7, 7, 5, 7, 7, 11, 10, 12, 10, 0, 5, 3, 10, 8]`
274274
```shell
275275
cd demo/nas/
276-
python darts_nas.py --token 5 5 0 5 5 10 7 7 5 7 7 11 10 12 10 0 5 3 10 8 --retain_epoch 600
276+
python sanas_darts_space.py --token 5 5 0 5 5 10 7 7 5 7 7 11 10 12 10 0 5 3 10 8 --retain_epoch 600
277277
```

0 commit comments

Comments
 (0)