facebookresearch / CutLER

Code release for "Cut and Learn for Unsupervised Object Detection and Instance Segmentation" and "VideoCutLER: Surprisingly Simple Unsupervised Video Instance Segmentation"
Other
913 stars 90 forks source link

Dependencies for pydensecrf #40

Closed LeslieTrue closed 1 year ago

LeslieTrue commented 1 year ago

Stuck in installing pydensecrf just now and finally solved~ This issue is just for the convenience of followers~

cython 3.0.0 currently doesn't support the compilation of pydensecrf and directly runing the following command pip install git+https://github.com/lucasb-eyer/pydensecrf.git will fail.

Use the following instead: pip3 install --force-reinstall cython==0.29.36 pip3 install --no-build-isolation git+https://github.com/lucasb-eyer/pydensecrf.git

Reference: https://github.com/lucasb-eyer/pydensecrf/issues/123#issuecomment-1644856641