SAM3 — Segment Anything Model 3
7
7 commits
1 repos using this model
2 linked in READMEs
updated Feb 25, 2026
This is an ungated mirror of Meta's SAM3 model weights, redistributed under the SAM License for easier access.
SAM3 (Segment Anything Model 3) is Meta AI's state-of-the-art foundation model for promptable segmentation in images and videos. It supports:
| File | Description |
|---|---|
sam3.safetensors | Model weights (safetensors format, converted from official .pt) |
LICENSE | SAM License (required for redistribution) |
The sam3.safetensors in this repo is converted directly from the official sam3.pt checkpoint using:
import torch
from safetensors.torch import save_file
state_dict = torch.load("sam3.pt", map_location="cpu")
save_file(state_dict, "sam3.safetensors")
This preserves the original key names (detector.*, tracker.*). Do not use the HuggingFace Transformers-format safetensors from facebook/sam3 — those have different key names (detector_model.*) and are incompatible with build_sam3_video_model().
# With the official sam3 package
pip install sam3
from sam3.model_builder import build_sam3_image_model
model = build_sam3_image_model(checkpoint_path="sam3.safetensors")
This model is distributed under the SAM License — see the LICENSE file. Key points:
SAM3 — Segment Anything Model 3
7
7 commits
1 repos using this model
2 linked in READMEs
updated Feb 25, 2026
This is an ungated mirror of Meta's SAM3 model weights, redistributed under the SAM License for easier access.
SAM3 (Segment Anything Model 3) is Meta AI's state-of-the-art foundation model for promptable segmentation in images and videos. It supports:
| File | Description |
|---|---|
sam3.safetensors | Model weights (safetensors format, converted from official .pt) |
LICENSE | SAM License (required for redistribution) |
The sam3.safetensors in this repo is converted directly from the official sam3.pt checkpoint using:
import torch
from safetensors.torch import save_file
state_dict = torch.load("sam3.pt", map_location="cpu")
save_file(state_dict, "sam3.safetensors")
This preserves the original key names (detector.*, tracker.*). Do not use the HuggingFace Transformers-format safetensors from facebook/sam3 — those have different key names (detector_model.*) and are incompatible with build_sam3_video_model().
# With the official sam3 package
pip install sam3
from sam3.model_builder import build_sam3_image_model
model = build_sam3_image_model(checkpoint_path="sam3.safetensors")
This model is distributed under the SAM License — see the LICENSE file. Key points: