diff --git a/demo/mkldnn_quant/README.md b/demo/mkldnn_quant/README.md index 88d4f941a18da43d458f3782781eac1e30b0cc04..2e66ab213bde752d94b93ef5ce27193807c5c864 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 8a59d77da236bcf66f62ff537404fb5ec9e7ac4b..1454377eb519c85bdddb1215da98c6e400c71e7f 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 dbdd30fff6b4b014e907a3af234735597a20db63..c37667f7a2a58cd91ae2d456ee1d9009d6255094 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 b4aa6ad133f7cadc744c11912850c66f5868dc19..056c5da429b994d29ddf3ac0fa91996161b18eee 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 defd371ccef152a00670cab2c93aa8745688bae0..00e71616f83da0e98cce81c7c0f5a1c6fd376d67 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 5697e968da17681d1f8b4f0cdb38eb2a8d19a43d..d2ff96cb1173f3a4cad655a21fa320c2ec01a7bd 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 eb59c4e815ce6d8502d4485381995f5b78d8a618..bfd10484fa2b036fced5aa40cf95b7895571ea03 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 5e2c7bd54c8f5344f2348bc397a5da569548512c..45982a907c388a149a29dc0d9e26cf9c2f166d73 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 c2aa4861743b40fb48ec026b6b3cf88e52b635c3..25937f27e4226c10feae7d920881d9215d7655d7 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 ```