facebookresearch / facebookresearch/sam2
New object ids during video
Open
- Dominant language
- Jupyter Notebook
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I noticed that new IDs cannot be added during inference on videos:
https://github.com/facebookresearch/segment-anything-2/blob/6186d1529a9c26f7b6e658f3e704d4bee386d9ba/sam2/sam2_video_predictor.py#L153C19-L153C43
What is the reason for this limitation?
How do you suggest overcoming this issue if the IDs are not known ahead of time?
Contributor guide
Assessment
This issue has not been assessed yet.