segment-anything
Provides code for running inference with the SegmentAnything Model (SAM), including model checkpoints and example notebooks.
GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026
Decision brief
Unverified catalog guidance: Segment-Anything is a tool for image segmentation tasks, offering model checkpoints and example notebooks for generating masks from images.
Good fit when
- Unverified catalog guidance: When you need to perform image segmentation tasks with high accuracy and flexibility, as Segment-Anything provides a robust model and detailed notebooks for prompt-based and automatic mask generation.
- Unverified catalog guidance: If you are working with complex images where manual segmentation is impractical, Segment-Anything can automate the process with its automatic mask generator feature.
Avoid when
- Unverified catalog guidance: If your project strictly requires real-time segmentation, as Segment-Anything, while efficient, may not meet the latency requirements of real-time applications.
- Unverified catalog guidance: When you are working in a resource-constrained environment, as Segment-Anything requires a significant amount of computational resources, including CUDA support for optimal performance.
- Requirements:
- Min 8 GB RAM; Requires Python 3.8 or higher.; PyTorch 1.7 and torchvision 0.8 or higher are required.; CUDA support is recommended for optimal performance.
Observed Sep 18, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Dormant (729d since push)
- As of Sep 18, 2026
- Provenance
- Not a fork · Organization account
- As of Sep 18, 2026
- Security (OSV)
- No lockfile
- As of Sep 18, 2026
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
Package installation is not established from the available documentation. Check the source repository for setup instructions.
git clone https://github.com/facebookresearch/segment-anythingSource repositoryRelationship proposals(2)
Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
This repository offers tools for using the SegmentAnything Model (SAM) for image segmentation tasks. It includes installation instructions, example notebooks, and scripts for generating masks from images.
Capability facts
- Languages
- jupyter notebook
Source: github.language · Sep 18, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Sep 18, 2026)
The code requires `python>=3.8`, as well as `pytorch>=1.7` and `torchvision>=0.8`. Please follow the instSource link
Tags
README
Installation The code requires , as well as and . Please follow the instructions here to install both PyTorch and TorchVision dependencies. Installing both PyTorch and TorchVision with CUDA support is strongly recommended. Install Segment Anything: or clone the repository locally...
For agents
This page has a .md twin and JSON over the API.