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

there is a bug that this project will show error #62

Open XiangBaoSong opened 1 year ago

XiangBaoSong commented 1 year ago

https://github.com/gaomingqi/Track-Anything/blob/b10803c295ae2f46506471f4b1a8bee5e4e09c2f/app.py#LL186C73-L186C86

fix the bug :

video_state["painted_images"][video_state["select_frame_number"]] = np.asarray(painted_image)