Downloads · 30 days
11
14% of all-time downloads
sshibinthomass/sam2-household-accuracy-v3-20260710-175456
sam2-household-accuracy-v3-20260710-175456 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
11
14% of all-time downloads
All-time downloads
80
Public
Parameters
38.5M
341 MB on disk
Likes
0
Public
Click a slice to open those files.
.pt374 MB · 54%
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_trainval201774dfd6666397ec5398d0757de0b852641a7afc39c6f4ef1a652351653b54d2dasam2-household-modal-train-v3sshibinthomass/sam2-household-accuracy-v3-20260710-175456from transformers import Sam2Model, Sam2Processor
processor = Sam2Processor.from_pretrained("sshibinthomass/sam2-household-accuracy-v3-20260710-175456")
model = Sam2Model.from_pretrained("sshibinthomass/sam2-household-accuracy-v3-20260710-175456")
outputs = model(**processor(images=image, input_boxes=[[box]], return_tensors="pt"), multimask_output=True)
best_mask_index = outputs.iou_scores[:, 0].argmax(dim=-1)