You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the code grounded_sam2_tracking_demo_with_continuous_id_plus.py on my own video, during the period of reverse tracking, it raises RuntimeError("No points are provided; please add points first"), because the output_dict["cond_frame_outputs"] is empty. I wonder why this occured and how to solve this problem. Thanks.
The text was updated successfully, but these errors were encountered:
And I also try the demo video assets/tracking_car.mp4 with fps=29 (VideoInfo(width=1920, height=1080, fps=29, total_frames=335)), it meets the same problem. I am really confused and hope for the answer. Thanks a lot!
This is mainly because the source code requires g-dino to detect new objects every time it is called. If no object is detected at a certain time, reverse tracking cannot be performed. You can try adding a conditional judgment here to avoid reverse tracking when no object is detected. I hope it can help you.
I run the code
grounded_sam2_tracking_demo_with_continuous_id_plus.py
on my own video, during the period of reverse tracking, it raises RuntimeError("No points are provided; please add points first"), because theoutput_dict["cond_frame_outputs"]
is empty. I wonder why this occured and how to solve this problem. Thanks.The text was updated successfully, but these errors were encountered: