Downloads · 30 days
98
11% of all-time downloads
rob-laz/sam3-gguf
sam3-gguf is a image segmentation model from rob-laz. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. It is set up for ggml. The card lists the license as apache-2.0.
GGUF weights for SAM 3 (Segment Anything Model 3), converted for use with sam3.cpp.
Downloads · 30 days
98
11% of all-time downloads
All-time downloads
863
Public
Repo size
6.3 GB
Likes
0
Public
Click a slice to open those files.
.gguf6.3 GB · 100%
From the Hugging Face model README
GGUF weights for SAM 3 (Segment Anything Model 3), converted for use with sam3.cpp.
| File | Precision | Size | Inference (M4 Max) |
|---|---|---|---|
sam3-image-f32.gguf | F32 | 3.2 GB | 3.5s |
sam3-image-f16.gguf | F16 | 1.7 GB | 3.5s |
sam3-image-q8_0.gguf | Q8_0 | 1.0 GB | 3.2s |
import sam3cpp
model = sam3cpp.Sam3Model("hf://rob-laz/sam3-gguf/sam3-image-f16.gguf")
pred = model.predict("photo.jpg", "person")
print(f"{pred.count} detections")
See sam3.cpp for build instructions and full documentation.
Converted from the original SAM 3 MLX weights using tools/convert_mlx_sam3_to_gguf.py.