diff --git a/docs/en/PPShiTu/PPShiTuV2_introduction.md b/docs/en/PPShiTu/PPShiTuV2_introduction.md index d33b6c404fa9224f6bf9f44680ee4e686ea356bd..875880791cd6f785b693f85dbf231eb5118f190f 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 f75aa1440b6eb5e7963d21925a859d0f7a82be99..fe7d4a4836040cef41690a834fc322fd87f3e0b5 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 b4e1bded0c9e251995eb43f17c393b56e3f204ea..3c6be5e4ca372f2b371e7ce03b6166727f894ccb 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 3a8bfaa9c871976ecf8781611d8938c02345c686..b67ce3ad177bb73f483094b503874be4224fd018 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 96c0a995140e1a8ec7d1987763c11034701ee038..d7c8eace329338531d6351f34a20a44166c3fcd0 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 c0b1536a9c399fc4007f703c5d14926b1d25f8c7..78cdf640529be343cd6f5412227c2b1349b5ff81 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 89d47d008299767ca05da1f067e20c23b1c2d637..2da46080512127b0a9c4f3ad12bacc56d4a3f152 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 b01b91f6ba999660d7e9cff3aace26b4e5618630..6d1a928f2c9f59de4d4c3e6bc928da5a32d5aea1 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 6443f8daa5cb5765cd3beaf55daf467a7d244bb0..bed91204f8661fb3254e0d295dc6e58e8d418776 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 26f749ef625c6ac6ff02339ad3b4893326bb4110..958666cf0cfd4c56443889bffa7a0d8959d6da17 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 f4a5365027646754b240e20ce5cea109759f705b..c2c14c3836dfe5daa56c705e7b469f7c085039bd 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 6b8e1a8e30fdf2d8e897112bcf73ec39ffd32029..2585da5f02c0e1b4b041dc7164888feee9bec1b9 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 27921f055ec581dc57626bd082eb980bc330653b..bfb400bad51bacf869f25c01c2b14c482a2790d4 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 . ```