SysCV / sam-pt

SAM-PT: Extending SAM to zero-shot video segmentation with point-based tracking.
https://arxiv.org/abs/2307.01197
Apache License 2.0
950 stars 60 forks source link

detectron2 fails installation #33

Closed mfkeles closed 3 months ago

mfkeles commented 6 months ago

the latest detectron2 requires pytorch>=1.18 but since the instructions tells us to do conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.3 -c pytorch it always fails.

Installing detectron2 with a torch>=1.8 fails the demo. Instead using python -m pip install detectron2 -f \ https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html to install detectron2 solves this issue.

m43 commented 3 months ago

We have tested the codebase only with Detectron v0.6 as specified in the requirements, I'm glad you made it work for your setup!