From 22b8d21e923fb3206dde8c7c1312518087da6831 Mon Sep 17 00:00:00 2001 From: Anmol Deep Date: Wed, 15 Dec 2021 12:38:45 +0530 Subject: [PATCH] Updated installation instructions for python for windows and linux Courtesy @philferriere --- README.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.txt b/README.txt index 19eb55b1..15f33dbb 100644 --- a/README.txt +++ b/README.txt @@ -11,5 +11,10 @@ After downloading the images and annotations, run the Matlab, Python, or Lua dem To install: -For Matlab, add coco/MatlabApi to the Matlab path (OSX/Linux binaries provided) + -For Python, run "make" under coco/PythonAPI +--The package pycocotools requires cython and a C compiler to install correctly. You can also install pycocotools as follows: +-- On Linux, run pip install git+https://github.com/waleedka/coco.git#subdirectory=PythonAPI&egg=pycocotools +-- On Windows, run pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI&egg=pycocotools + -For Lua, run “luarocks make LuaAPI/rocks/coco-scm-1.rockspec” under coco/