facebookresearch / facebookresearch/sam2

How to build a Docker image for SAM2 without demos and video-related dependencies

Open
#618 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build a Docker image for SAM2, but I'm facing some challenges. The official package cannot be installed directly, and the Docker image provided in the tutorial includes demo components and video-related libraries that I don't need.
I would like to create a minimal Docker image that only includes the core SAM2 functionality without the demo applications and video processing dependencies. This would result in a smaller, more efficient container that better suits my specific use case.
Could someone provide guidance on how to modify the Dockerfile to exclude these unnecessary components while maintaining the essential SAM2 functionality?
Thank you in advance for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.