From b2d862b4e43d9d5a0bb3d48e1de7fc65c8053586 Mon Sep 17 00:00:00 2001 From: gaotingquan Date: Thu, 29 Jun 2023 03:49:45 +0000 Subject: [PATCH] docs: change to pip install -v -e . --- docs/en/PPShiTu/PPShiTuV2_introduction.md | 2 +- docs/en/advanced_tutorials/model_prune_quantization_en.md | 2 +- docs/en/inference_deployment/whl_deploy_en.md | 2 +- docs/en/installation.md | 2 +- docs/zh_CN/deployment/PP-ShiTu/paddle_lite.md | 2 +- docs/zh_CN/deployment/PP-ShiTu/whl.md | 2 +- docs/zh_CN/deployment/image_classification/whl.md | 2 +- docs/zh_CN/installation.md | 2 +- docs/zh_CN/models/PP-ShiTu/README.md | 2 +- .../models/practical_models/CLIP_large_patch14_224_aesthetic.md | 2 +- docs/zh_CN/models/practical_models/EfficientNetB3_watermark.md | 2 +- docs/zh_CN/quick_start/quick_start_recognition.md | 2 +- docs/zh_CN/training/advanced/prune_quantization.md | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/en/PPShiTu/PPShiTuV2_introduction.md b/docs/en/PPShiTu/PPShiTuV2_introduction.md index d33b6c40..87588079 100644 --- a/docs/en/PPShiTu/PPShiTuV2_introduction.md +++ b/docs/en/PPShiTu/PPShiTuV2_introduction.md @@ -80,7 +80,7 @@ Open the installed APP, click the "**file recognition**" button below, select th cd PaddleClas # install paddleclas - python3.7 setup.py install + pip install -v -e . ``` - Then execute the following command to download and decompress the demo data, and finally execute command to quick start image recognition diff --git a/docs/en/advanced_tutorials/model_prune_quantization_en.md b/docs/en/advanced_tutorials/model_prune_quantization_en.md index f75aa144..fe7d4a48 100644 --- a/docs/en/advanced_tutorials/model_prune_quantization_en.md +++ b/docs/en/advanced_tutorials/model_prune_quantization_en.md @@ -55,7 +55,7 @@ pip install paddleslim -i https://pypi.tuna.tsinghua.edu.cn/simple ``` git clone https://github.com/PaddlePaddle/PaddleSlim.git cd Paddleslim -python3.7 setup.py install +pip install -v -e . ``` diff --git a/docs/en/inference_deployment/whl_deploy_en.md b/docs/en/inference_deployment/whl_deploy_en.md index b4e1bded..3c6be5e4 100644 --- a/docs/en/inference_deployment/whl_deploy_en.md +++ b/docs/en/inference_deployment/whl_deploy_en.md @@ -34,7 +34,7 @@ pip3 install paddleclas * Please build and install locally if you need to use the develop branch of PaddleClas to experience the latest functions, or need to redevelop based on PaddleClas. The command is as follows: ```bash -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/en/installation.md b/docs/en/installation.md index 3a8bfaa9..b67ce3ad 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -140,5 +140,5 @@ pip install paddleclas * Please build and install locally if you need to use the develop branch of PaddleClas to experience the latest functions, or need to redevelop based on PaddleClas. The command is as follows: ```shell -python setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/deployment/PP-ShiTu/paddle_lite.md b/docs/zh_CN/deployment/PP-ShiTu/paddle_lite.md index 96c0a995..d7c8eace 100644 --- a/docs/zh_CN/deployment/PP-ShiTu/paddle_lite.md +++ b/docs/zh_CN/deployment/PP-ShiTu/paddle_lite.md @@ -245,7 +245,7 @@ cp general_PPLCNetV2_base_pretrained_v1.0_infer/rec.nb deploy/lite_shitu/models/ # 进入PaddleClas根目录 cd $PaddleClas # 安装PaddleClas -python setup.py install +pip install -v -e . cd deploy # 下载瓶装饮料数据集 wget https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/drink_dataset_v2.0.tar && tar -xf drink_dataset_v2.0.tar diff --git a/docs/zh_CN/deployment/PP-ShiTu/whl.md b/docs/zh_CN/deployment/PP-ShiTu/whl.md index c0b1536a..78cdf640 100644 --- a/docs/zh_CN/deployment/PP-ShiTu/whl.md +++ b/docs/zh_CN/deployment/PP-ShiTu/whl.md @@ -20,7 +20,7 @@ pip3 install paddleclas * 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装: ```bash -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/deployment/image_classification/whl.md b/docs/zh_CN/deployment/image_classification/whl.md index 89d47d00..2da46080 100644 --- a/docs/zh_CN/deployment/image_classification/whl.md +++ b/docs/zh_CN/deployment/image_classification/whl.md @@ -32,7 +32,7 @@ pip3 install paddleclas * 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装: ```bash -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/installation.md b/docs/zh_CN/installation.md index b01b91f6..6d1a928f 100644 --- a/docs/zh_CN/installation.md +++ b/docs/zh_CN/installation.md @@ -107,7 +107,7 @@ pip install paddleclas * 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装,命令如下: ```shell -python setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/models/PP-ShiTu/README.md b/docs/zh_CN/models/PP-ShiTu/README.md index 6443f8da..bed91204 100644 --- a/docs/zh_CN/models/PP-ShiTu/README.md +++ b/docs/zh_CN/models/PP-ShiTu/README.md @@ -85,7 +85,7 @@ PP-ShiTuV2 是基于 PP-ShiTuV1 改进的一个实用轻量级通用图像识别 cd PaddleClas # 安装paddleclas - python3.7 setup.py install + pip install -v -e . ``` - 然后执行以下命令下载并解压好demo数据,最后执行命令体验索引库构建和图像识别 diff --git a/docs/zh_CN/models/practical_models/CLIP_large_patch14_224_aesthetic.md b/docs/zh_CN/models/practical_models/CLIP_large_patch14_224_aesthetic.md index 26f749ef..958666cf 100644 --- a/docs/zh_CN/models/practical_models/CLIP_large_patch14_224_aesthetic.md +++ b/docs/zh_CN/models/practical_models/CLIP_large_patch14_224_aesthetic.md @@ -64,7 +64,7 @@ python3 -m pip uninstall paddleclas ``` cd path/to/PaddleClas -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/models/practical_models/EfficientNetB3_watermark.md b/docs/zh_CN/models/practical_models/EfficientNetB3_watermark.md index f4a53650..c2c14c38 100644 --- a/docs/zh_CN/models/practical_models/EfficientNetB3_watermark.md +++ b/docs/zh_CN/models/practical_models/EfficientNetB3_watermark.md @@ -54,7 +54,7 @@ python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple ``` cd path/to/PaddleClas #使用下面的命令构建 -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/quick_start/quick_start_recognition.md b/docs/zh_CN/quick_start/quick_start_recognition.md index 6b8e1a8e..2585da5f 100644 --- a/docs/zh_CN/quick_start/quick_start_recognition.md +++ b/docs/zh_CN/quick_start/quick_start_recognition.md @@ -93,7 +93,7 @@ pip3 install paddleclas * 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装: ```bash -python3 setup.py install +pip install -v -e . ``` diff --git a/docs/zh_CN/training/advanced/prune_quantization.md b/docs/zh_CN/training/advanced/prune_quantization.md index 27921f05..bfb400ba 100644 --- a/docs/zh_CN/training/advanced/prune_quantization.md +++ b/docs/zh_CN/training/advanced/prune_quantization.md @@ -55,7 +55,7 @@ pip install paddleslim -i https://pypi.tuna.tsinghua.edu.cn/simple ```bash git clone https://github.com/PaddlePaddle/PaddleSlim.git cd Paddleslim -python3.7 setup.py install +pip install -v -e . ``` -- GitLab