From 89742766a3cb33ecba323fc51b60af3d2fa0b48c Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Mon, 21 Oct 2019 11:16:27 +0800 Subject: [PATCH] add doc for cocoapi install in windows (#3676) --- docs/INSTALL.md | 8 +++++++- docs/INSTALL_cn.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 3f99b19b6..4af7bc96e 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -36,7 +36,7 @@ python -c "import paddle; print(paddle.__version__)" ### Requirements: -- Python2 or Python3 +- Python2 or Python3 (Only support Python3 for windows) - CUDA >= 8.0 - cuDNN >= 5.0 - nccl >= 2.1.2 @@ -58,6 +58,12 @@ COCO-API is needed for running. Installation is as follows: # not to install the COCO API into global site-packages python setup.py install --user +**Installation of COCO-API in windows:** + + # if cython is not installed + pip install Cython + # Because the origin version of cocoapi does not support windows, another version is used which only supports Python3 + pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI ## PaddleDetection diff --git a/docs/INSTALL_cn.md b/docs/INSTALL_cn.md index 6fe1c484e..eca4d41b7 100644 --- a/docs/INSTALL_cn.md +++ b/docs/INSTALL_cn.md @@ -35,7 +35,7 @@ python -c "import paddle; print(paddle.__version__)" ### 环境需求: -- Python2 or Python3 +- Python2 or Python3 (windows系统仅支持Python3) - CUDA >= 8.0 - cuDNN >= 5.0 - nccl >= 2.1.2 @@ -56,6 +56,12 @@ python -c "import paddle; print(paddle.__version__)" # 若您没有权限或更倾向不安装至全局site-packages python setup.py install --user +**windows用户安装COCO-API方式:** + + # 若Cython未安装,请安装Cython + pip install Cython + # 由于原版cocoapi不支持windows,采用第三方实现版本,该版本仅支持Python3 + pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI ## PaddleDetection -- GitLab