You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while trying to reproduce the project. When running the setup.sh script for one-click installation, it didn't complete successfully. I then tried running the installation commands one by one and found that the error occurs when executing the following command: pip install torch==2.2.0 torchvision==0.17.0 xformers==0.0.24 --index-url https://download.pytorch.org/whl/cu122 --force-reinstall
In /VADAR/models/sam2/setup.py, line 24, there are requirements as below: # Required dependencies REQUIRED_PACKAGES = [ "torch>=2.5.1", "torchvision>=0.20.1"
The issue seems to be a dependency conflict: sam 2 1.0 requires PyTorch version >= 2.5.1, but upgrading PyTorch to 2.5.1 causes an issue with xformers, which requires PyTorch 2.2.0 for the Unidepth model.
Could you please advise on how to resolve this version conflict and successfully install the dependencies?Thank you for your help!
The text was updated successfully, but these errors were encountered:
Hi thank you for raising the issue. We have tested VADAR with torch==2.2.0 torchvision==0.17.0 xformers==0.0.24 and despite the stated conflict with SAM2 there are no issues with setting up or executing.
From the line that threw the error, I believe the issue may be that you are installing torch/torchvision/xformers for the wrong cuda version. Can you run nvcc --version? If you don't see cuda_12.2 you should update the --index-url. For example, if you are running cuda_11.8 you should replace --index-url with: --index-url https://download.pytorch.org/whl/cu118
I encountered an issue while trying to reproduce the project. When running the setup.sh script for one-click installation, it didn't complete successfully. I then tried running the installation commands one by one and found that the error occurs when executing the following command:
pip install torch==2.2.0 torchvision==0.17.0 xformers==0.0.24 --index-url https://download.pytorch.org/whl/cu122 --force-reinstall
In /VADAR/models/sam2/setup.py, line 24, there are requirements as below:
# Required dependencies REQUIRED_PACKAGES = [ "torch>=2.5.1", "torchvision>=0.20.1"
The issue seems to be a dependency conflict: sam 2 1.0 requires PyTorch version >= 2.5.1, but upgrading PyTorch to 2.5.1 causes an issue with xformers, which requires PyTorch 2.2.0 for the Unidepth model.
Could you please advise on how to resolve this version conflict and successfully install the dependencies?Thank you for your help!
The text was updated successfully, but these errors were encountered: