IDEA-Research/Grounded-SAM-2

Tracking with continuous id crashes when does not find input boxes

photosartd opened this issue · 1 comments

In grounded_sam2_tracking_demo_with_continuous_id.py if input_boxes.shape[0] == 0 at some point (which means there are no objects detected that correspond to the language prompt) the pipeline crashes at this point in code. Is it an unintended behaviour since if we didn't find any objects we just want to output the same frame?

Yes, if there're no object predicted, we should directly output the frame itself, we will update this code in the future release