diff --git a/docs/tutorials/INSTALL.md b/docs/tutorials/INSTALL.md index a411be02de0ff8a3e134b4c826e109e951a50b03..697c7a96d416dec09c1cdf20dd39adf83cd56e7b 100644 --- a/docs/tutorials/INSTALL.md +++ b/docs/tutorials/INSTALL.md @@ -59,6 +59,8 @@ COCO-API is needed for running. Installation is as follows: # Alternatively, if you do not have permissions or prefer # not to install the COCO API into global site-packages python setup.py install --user + # or with pip + pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI" **Installation of COCO-API in windows:** diff --git a/docs/tutorials/INSTALL_cn.md b/docs/tutorials/INSTALL_cn.md index 222dc7d8eb4c80be5b00179dcc90b79b4adaf2dd..75dbe0af2970d0603e0b50ccc2a0003038d8c23b 100644 --- a/docs/tutorials/INSTALL_cn.md +++ b/docs/tutorials/INSTALL_cn.md @@ -55,6 +55,8 @@ python -c "import paddle; print(paddle.__version__)" make install # 若您没有权限或更倾向不安装至全局site-packages python setup.py install --user + # 或者使用pip安装 + pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI" **windows用户安装COCO-API方式:** diff --git a/requirements.txt b/requirements.txt index 2e0299ba1e2d4c9d434df4b4afa2974234dad4a5..8aa3f4d231f4973b5610c38cbb92e9f2dbedaff6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,6 @@ docstring_parser @ http://github.com/willthefrog/docstring_parser/tarball/master typeguard ; python_version >= '3.4' tb-paddle tensorboard >= 1.15 -cython -pycocotools opencv-python PyYAML shapely