ykasten / layered-neural-atlases

MIT License
588 stars 65 forks source link

Can't install detectron2 on Windows #11

Open jamesmgg opened 1 year ago

jamesmgg commented 1 year ago

python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.6/index.html

gives an error that it can find the right version to install. How should this be installed? I tried many things and none of them worked.

hananbeer commented 1 month ago

edit: I've switched detectron2 to branch v0.6, seems to work now.

here's a smiley face I've put on libby :) it worked great!

image


I've used answer from here: https://stackoverflow.com/questions/75357936/how-to-install-detectron2

seems to have installed it but I get another error related to detectron: ImportError: cannot import name 'cached_property' from 'functools'

probably need to use a specific version and not main branch.

@ykasten do you know which version is required?