Downloads · 30 days
5
8% of all-time downloads
sshibinthomass/sam2-household-accuracy-v3-20260710-170002
sam2-household-accuracy-v3-20260710-170002 is a mask generation model from sshibinthomass. Use it for the mask generation task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned facebook/sam2.1-hiera-small for household object masks with bbox prompts.
Downloads · 30 days
5
8% of all-time downloads
All-time downloads
62
Public
Parameters
38.5M
341 MB on disk
Likes
0
Public
Click a slice to open those files.
.pt561 MB · 55%
From the Hugging Face model README
Fine-tuned facebook/sam2.1-hiera-small for household object masks with bbox prompts.
facebook/sam2.1-hiera-smallee5bba1d82bb8749febdf90f45e84b687142ba03COCO 2017 instance segmentationannotations_trainval2017509e83782606d6dc387c6c22ef5e04c2ae21a2907526a9df2f3cdde9a8338ae9sam2-household-modal-train-v3sshibinthomass/sam2-household-accuracy-v3-20260710-170002from transformers import Sam2Model, Sam2Processor
processor = Sam2Processor.from_pretrained("sshibinthomass/sam2-household-accuracy-v3-20260710-170002")
model = Sam2Model.from_pretrained("sshibinthomass/sam2-household-accuracy-v3-20260710-170002")
outputs = model(**processor(images=image, input_boxes=[[box]], return_tensors="pt"), multimask_output=True)
best_mask_index = outputs.iou_scores[:, 0].argmax(dim=-1)