Closed nagoue closed 2 months ago
Hi,
Can you try these steps:
upgrade setuptools, wheel, and pip
python3 -m pip install --upgrade setuptools wheel pip
upgrade PyTorch to v2.3.1
python3 -m pip install torch==2.3.1
install Detectron2
python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
then downgrade PyTorch to v2.0.1 again
python3 -m pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cpu
And let me know whether this addresses the issue. Thank you!
Hi,
Thank you so much for your fast reply and solution. I could complete the installation to the end.
Cheers,
De: "Yujia Hu" @.> À: "umyelab/LabGym" @.> Cc: "Nadia GOUE" @.>, "Author" @.> Envoyé: Jeudi 11 Juillet 2024 17:15:52 Objet: Re: [umyelab/LabGym] Unable to install detectron2 (Issue #169)
Hi,
Can you try these steps:
1.
upgrade setuptools, wheel, and pip python3 -m pip install --upgrade setuptools wheel pip
upgrade PyTorch to v2.3.1 python3 -m pip install torch==2.3.1
install Detectron2 python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
then downgrade PyTorch to v2.0.1 again python3 -m pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cpu
And let me know whether this addresses the issue. Thank you!
— Reply to this email directly, [ https://github.com/umyelab/LabGym/issues/169#issuecomment-2223211690 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ACE4IHQ2GVXMID7BRVFODRTZL2OSRAVCNFSM6AAAAABKXFSAE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGIYTCNRZGA | unsubscribe ] . You are receiving this because you authored the thread. Message ID: <umyelab/LabGym/issues/169/2223211690 @ github . com>
Great! Thank you for letting me know this!
Hi, I would need help to solve an issue with the installation of detectron. I use OS Ubuntu 22.04, and for the moment I wish to use LabGym with CPU only My commands are:
The error message is:
I initially tried without fixing setuptools package version (so using version 70.2.0). I also tried those installations: pip install 'git+https://github.com/facebookresearch/detectron2.git@v0.6' pip install 'git+https://github.com/facebookresearch/detectron2.git@a59f05630a8f205756064244bf5beb8661f96180' I also tried passing by pipx All my tests ended with the same error message as above.
I would appreciate any help. Thanks !