Add Docker Support for AmadeusGPT (SAM2) and SAM Image Segmentation #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several significant changes, primarily focused on adding support for SAM2 image segmentation, Docker configuration updates. Below are the most important changes grouped by theme:
Docker Configuration Updates:
Dockerfile
(simplified version) for setting up a containerized environment with PyTorch, DeepLabCut, and various other tools. It includes user creation, Oh My Zsh installation, and GPU support. (Dockerfile
, DockerfileR1-R54)Dockerfile.sam2
(development version) for SAM2-specific configurations, including cloning and setting up the SAM2 repository and its dependencies. (Dockerfile.sam2
, Dockerfile.sam2)Makefile Enhancements:
build
), running (run
), and accessing (exec
) Docker containers. These commands streamline the development workflow and support volume mounting for local project directories. (Makefile
, MakefileR5-R37)SAM2 Image Segmentation (Dev version):
sam2_image_seg
insam2_image.py
, a function for performing image segmentation using the SAM2 model. It supports prompts, GPU acceleration, and visualization of segmentation masks. (sam2_image.py
, sam2_image.py)