z-x-yang / Segment-and-Track-Anything

An open-source project dedicated to tracking and segmenting any objects in videos, either automatically or interactively. The primary algorithms utilized include the Segment Anything Model (SAM) for key-frame segmentation and Associating Objects with Transformers (AOT) for efficient tracking and propagation purposes.
GNU Affero General Public License v3.0
2.77k stars 334 forks source link

webUI keep showing error #75

Closed richardliu1111 closed 10 months ago

richardliu1111 commented 1 year ago

I used the colab notebook and successfully opened public url. However, after I have uploaded the video, it keeps showing error in "segment result of first page" block, "predicted video" block, and "predicted mask" block.

LiNO3Dy commented 1 year ago

Thank you for your question. To better assist you in resolving the issue, I need to view the error messages in the console.

richardliu1111 commented 1 year ago

The error message on the page looks like this:

截屏2023-07-26 10 56 14
richardliu1111 commented 1 year ago

Sometimes the "segment result of first frame" block works, but if I try to start tracking for everything, the video and mask also shows error. I tried to open the console, but there is no message in it.

截屏2023-07-26 11 15 16
richardliu1111 commented 1 year ago

BTW, I'm not sure if this information helps:

截屏2023-07-26 11 51 49
PhilisterD commented 1 year ago

Same error

jamyriver commented 1 year ago

Same,HELP!

yamy-cheng commented 1 year ago

hi, This issue occurs because SegTracker has not been initialized. You need to click or select the object to be tracked in order to initialize SegTracker, just like the tutorial demonstrated.