From 3eee512e7fdb2ffabdce5cc2faa396bc1211ec9d Mon Sep 17 00:00:00 2001 From: moneypi <1483586698@qq.com> Date: Thu, 5 May 2022 10:50:08 +0800 Subject: [PATCH] update docs (#1071) --- demo/mkldnn_quant/README.md | 4 ++-- docs/README.md | 2 +- .../static/paddledetection_slim_distillation_tutorial.md | 2 +- .../cv/detection/static/paddledetection_slim_nas_tutorial.md | 2 +- .../detection/static/paddledetection_slim_pruing_tutorial.md | 2 +- .../static/paddledetection_slim_prune_dist_tutorial.md | 2 +- .../static/paddledetection_slim_quantization_tutorial.md | 2 +- .../static/paddledetection_slim_sensitivy_tutorial.md | 2 +- docs/zh_cn/tutorials/nas/static/sanas_darts_space.md | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/demo/mkldnn_quant/README.md b/demo/mkldnn_quant/README.md index 88d4f941..2e66ab21 100644 --- a/demo/mkldnn_quant/README.md +++ b/demo/mkldnn_quant/README.md @@ -117,9 +117,9 @@ val/ILSVRC2012_val_00000002.jpg 0 #### 准备预测推理库 用户可以从源码编译Paddle推理库,也可以直接下载推理库。 -- 用户可以从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以上版本。 +- 用户可以从Paddle源码编译Paddle推理库,参考[从源码编译](https://paddleinference.paddlepaddle.org.cn/user_guides/source_compile.html),使用release/2.0以上版本。 -- 用户也可以从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版。 +- 用户也可以从Paddle官网下载发布的[预测库](https://paddleinference.paddlepaddle.org.cn/user_guides/download_lib.html)。请选择最新发布版或者develop版。 #### 编译应用 diff --git a/docs/README.md b/docs/README.md index 8a59d77d..1454377e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -74,7 +74,7 @@ make html ## 2.2 预览文档 进入`PaddleSlim/docs/zh_cn/build/html`路径下。 -执行`python -m SimpleHTTPServer 8883`。 +执行`python -m http.server 8883`。 假设当前机器IP为`server_ip`。 通过浏览器查看链接`server_ip:8883`即可预览文档。 diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_distillation_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_distillation_tutorial.md index dbdd30ff..c37667f7 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_distillation_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_distillation_tutorial.md @@ -1,6 +1,6 @@ # 目标检测模型蒸馏教程 -教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/distillation/README.md +教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/distillation/README.md ## 示例结果 diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_nas_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_nas_tutorial.md index b4aa6ad1..056c5da4 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_nas_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_nas_tutorial.md @@ -1,6 +1,6 @@ # 人脸检测模型小模型结构搜索教程 -教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/nas/README.md +教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/nas/README.md ## 概述 diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_pruing_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_pruing_tutorial.md index defd371c..00e71616 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_pruing_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_pruing_tutorial.md @@ -1,3 +1,3 @@ # 目标检测模型卷积通道剪裁教程 -请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/prune/README.md +请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/prune/README.md diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_prune_dist_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_prune_dist_tutorial.md index 5697e968..d2ff96cb 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_prune_dist_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_prune_dist_tutorial.md @@ -1,6 +1,6 @@ # 目标检测模型蒸馏剪裁教程 -教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/extensions/distill_pruned_model/README.md +教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/extensions/distill_pruned_model/README.md ## 概述 diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_quantization_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_quantization_tutorial.md index eb59c4e8..bfd10484 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_quantization_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_quantization_tutorial.md @@ -1,6 +1,6 @@ # 目标检测模型量化教程 -教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/quantization/README.md +教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/quantization/README.md ## 示例结果 diff --git a/docs/zh_cn/cv/detection/static/paddledetection_slim_sensitivy_tutorial.md b/docs/zh_cn/cv/detection/static/paddledetection_slim_sensitivy_tutorial.md index 5e2c7bd5..45982a90 100644 --- a/docs/zh_cn/cv/detection/static/paddledetection_slim_sensitivy_tutorial.md +++ b/docs/zh_cn/cv/detection/static/paddledetection_slim_sensitivy_tutorial.md @@ -1,3 +1,3 @@ # 目标检测模型敏感度分析教程 -教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.2/slim/sensitive/README.md +教程内容请参考:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/static/slim/sensitive/README.md diff --git a/docs/zh_cn/tutorials/nas/static/sanas_darts_space.md b/docs/zh_cn/tutorials/nas/static/sanas_darts_space.md index c2aa4861..25937f27 100644 --- a/docs/zh_cn/tutorials/nas/static/sanas_darts_space.md +++ b/docs/zh_cn/tutorials/nas/static/sanas_darts_space.md @@ -266,12 +266,12 @@ sa_nas.reward(float(valid_top1_list[-1] + valid_top1_list[-2]) / 2) 搜索文件位于: [darts_sanas_demo](https://github.com/PaddlePaddle/PaddleSlim/blob/develop/demo/nas/sanas_darts_space.py),搜索过程中限制模型参数量为不大于3.77M。 ```shell cd demo/nas/ -python darts_nas.py +python sanas_darts_space.py ``` ### 11. 利用demo下的脚本启动最终实验 最终实验文件位于: [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]`。 ```shell cd demo/nas/ -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 +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 ``` -- GitLab