gaomingqi / Track-Anything

Track-Anything is a flexible and interactive tool for video object tracking and segmentation, based on Segment Anything, XMem, and E2FGVI.
MIT License
6.51k stars 481 forks source link

ERROR: Failed building wheel for mmcv-full #108

Open ajaxdform opened 1 year ago

ajaxdform commented 1 year ago

Hello, I have installed all the requirement but i am getting this error while installing mmvc-full . i have installed torch = 2.1.0+cu121 & cuda = 12.1

Screenshot 2023-10-08 185612

thanks.

bzand commented 1 year ago

@ajaxdform I am getting the same error.

bzand commented 1 year ago

Update: It worked for me using an older version of Pytorch and CUDA.

torch==1.12.0+cu116

bmossm commented 1 year ago

@bzand How did you roll back to that version of torch? I can't seem to find/install it successfully.

bzand commented 1 year ago

@bmossm I created a new conda environment with python=3.10

I then ran the following command to install the older torch version (Windows or Linux): pip install torch==1.12.0+cu116 torchvision==0.13.0+cu116 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu116

You can find a list of the older torch versions here: https://pytorch.org/get-started/previous-versions/

I hope this helps!

WlbLucy commented 10 months ago

我把mmcv卸载然后重新装了一遍。