sam-pt icon indicating copy to clipboard operation
sam-pt copied to clipboard

detectron2 fails installation

Open mfkeles opened this issue 1 year ago • 0 comments

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.

mfkeles avatar Feb 20 '24 22:02 mfkeles