facebookresearch / facebookresearch/sam2
ONNX EXPORT FOR VIDEO SEGMENTATION
Open
- Dominant language
- Jupyter Notebook
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I’m currently working with the SAM2 model and noticed that while ONNX export is supported for image segmentation, there is no straightforward way to export the full video segmentation pipeline (including memory components like memory_encoder, memory_attention, etc.) to ONNX.
It would be very helpful to have guidance or official support for exporting the video segmentation mode of SAM2 to ONNX format. This would enable broader deployment and optimization in real-time or resource-constrained environments.
Could you please provide instructions or add support for ONNX export of video segmentation in SAM2.
Contributor guide
Assessment
This issue has not been assessed yet.