tianrun-chen / SAM-Adapter-PyTorch

Adapting Meta AI's Segment Anything to Downstream Tasks with Adapters and Prompts
MIT License
1k stars 89 forks source link

Dependency issue #69

Open AwayFromKeyboardwarrior opened 6 months ago

AwayFromKeyboardwarrior commented 6 months ago

ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 14), -r requirements.txt (line 15), -r requirements.txt (line 4), -r requirements.txt (line 6), -r requirements.txt (line 7) and numpy~=1.20.3 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested numpy~=1.20.3 imageio 2.9.0 depends on numpy opencv-python 4.7.0.72 depends on numpy>=1.17.3; python_version >= "3.8" opencv-python 4.7.0.72 depends on numpy>=1.17.0; python_version >= "3.7" scikit-learn 1.2.2 depends on numpy>=1.17.3 scipy 1.10.1 depends on numpy<1.27.0 and >=1.19.5 tensorboardx 2.6 depends on numpy onnxruntime 1.14.1 depends on numpy>=1.21.6

After removing onnxruntime from requirements.txt, it went through.