AILab-CVC / YOLO-World

[CVPR 2024] Real-Time Open-Vocabulary Object Detection
https://www.yoloworld.cc
GNU General Public License v3.0
4.21k stars 411 forks source link

Compatibility issue between the TORCH version and the MMCV version #425

Open escapethetrap opened 1 month ago

escapethetrap commented 1 month ago

When I was debugging the code, I found that the MMCV version requirements are 2.0.0 to 2.1.0, but the torch required by this version is not compatible with the torchvision required by yolo-world, is this normal? ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. yolo-world 0.1.0 requires torchvision>=0.16.2, but you have torchvision 0.15.2+cu118 which is incompatible. image 屏幕截图 2024-07-14 200402

escapethetrap commented 1 month ago

pip3 install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118