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.52k stars 481 forks source link

Possible incompatibility with PyAV 13.1 #151

Open ggalan87 opened 1 month ago

ggalan87 commented 1 month ago

Track-Anything does not specify a specific version of PyAV in requirements.txt and currently PyAV 13.1 is pulled, which results to an error after tracking button is pressed as the following screenshot depicts.

Screenshot from 2024-10-21 13-13-28

I am not sure if this is a bug of torchvision, numpy or of Track-Anything. My version of torchvision is 0.20.0 and numpy 1.26.4 I managed to solve the issue by downgrading to PyAV 12 ( pip install av==12.0).

PS: In my current installation I solved rest issues following the comments/suggestions on the rest issues.