facebookresearch / CutLER

Code release for "Cut and Learn for Unsupervised Object Detection and Instance Segmentation" and "VideoCutLER: Surprisingly Simple Unsupervised Video Instance Segmentation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies for pydensecrf

LeslieTrue opened this issue · comments

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:
lucasb-eyer/pydensecrf#123 (comment)