Skip to content

Commit

Permalink
[instance_occlsegm, grasp_fusion] Install Cython<3.0.0 to install Pyt…
Browse files Browse the repository at this point in the history
…hon2-compatible pycocotools (<=2.0.3)

cocodataset/cocoapi#327 was solved because newer pycocotools including cocodataset/cocoapi#86 is released from https://github.com/ppwwyyxx/cocoapi.
However, new issue (cython/cython#5539) keeps us installing Cython explicitly.
  • Loading branch information
pazeshun committed Aug 15, 2023
1 parent 65968ce commit 520ef7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions demos/grasp_fusion/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
chainer==6.7.0
chainer-mask-rcnn>=0.5.13
chainercv>=0.9.0
# pycocotools is required implicitly (via chainer-mask-rcnn), and
# Python2-compatible pycocotools (<=2.0.3) cannot be installed with Cython>=3.0.0.
# See https://github.com/cython/cython/issues/5539.
Cython<3.0.0
fcn>=6.1.8
filelock
gdown
Expand Down
8 changes: 4 additions & 4 deletions demos/instance_occlsegm/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
chainer==6.7.0
chainer-mask-rcnn>=0.5.13
chainercv>=0.9.0
# To install pycocotools (available version: 2.0.0), Cython should be installed in advance.
# See https://github.com/cocodataset/cocoapi/issues/327.
# '-e git+https://github.com/cocodataset/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI' does not work due to https://github.com/locusrobotics/catkin_virtualenv/issues/48.
Cython
# pycocotools is required both implicitly (via chainer-mask-rcnn) and explicitly, and
# Python2-compatible pycocotools (<=2.0.3) cannot be installed with Cython>=3.0.0.
# See https://github.com/cython/cython/issues/5539.
Cython<3.0.0
fcn>=6.1.8
filelock
gdown
Expand Down

0 comments on commit 520ef7a

Please sign in to comment.