diff --git a/docs/tutorials/INSTALL.md b/docs/tutorials/INSTALL.md index 6dfdc7b09062726b3da8a48d6be75a889596acdd..a9903151f9d61b58edc93bdafd808072a1982c20 100644 --- a/docs/tutorials/INSTALL.md +++ b/docs/tutorials/INSTALL.md @@ -64,24 +64,12 @@ python -c "import paddle; print(paddle.__version__)" ### 2. Install PaddleDetection -PaddleDetection can be installed in the following two ways: -#### 2.1 Install via pip **Note:** Installing via pip only supports Python3 ``` -# Install paddledet via pip -pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple -# Download and use the configuration files and code examples in the source code -git clone https://github.com/PaddlePaddle/PaddleDetection.git -cd PaddleDetection -``` - -#### 2.2 Compile and install from Source code - -``` # Clone PaddleDetection repository cd git clone https://github.com/PaddlePaddle/PaddleDetection.git diff --git a/docs/tutorials/INSTALL_cn.md b/docs/tutorials/INSTALL_cn.md index 0fde61bf91870a4ebe9debcef6fbc8ed1cea7ce5..4676981319e35bdc5de7458d4f8f474a6a22e793 100644 --- a/docs/tutorials/INSTALL_cn.md +++ b/docs/tutorials/INSTALL_cn.md @@ -54,22 +54,12 @@ python -c "import paddle; print(paddle.__version__)" ### 2. 安装PaddleDetection -可通过如下两种方式安装PaddleDetection -#### 2.1 通过pip安装 + **注意:** pip安装方式只支持Python3 -``` -# pip安装paddledet -pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple -# 下载使用源码中的配置文件和代码示例 -git clone https://github.com/PaddlePaddle/PaddleDetection.git -cd PaddleDetection -``` - -#### 2.2 源码编译安装 ``` # 克隆PaddleDetection仓库 @@ -82,10 +72,10 @@ python setup.py install # 安装其他依赖 pip install -r requirements.txt - ``` **注意** +1. 如果github下载代码较慢,可尝试使用[gitee](https://gitee.com/PaddlePaddle/PaddleDetection.git)或者[代理加速](https://doc.fastgit.org/zh-cn/guide.html)。 1. 若您使用的是Windows系统,由于原版cocoapi不支持Windows,`pycocotools`依赖可能安装失败,可采用第三方实现版本,该版本仅支持Python3