Downloads · 30 days
51
9% of all-time downloads
facebook/sam2-hiera-small-hf
sam2-hiera-small-hf is a machine learning model from facebook. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Repository for SAM 2: Segment Anything in Images and Videos, a foundation model towards solving promptable visual segmentation in images and videos from FAIR. See the SAM 2 paper for more information.
Downloads · 30 days
51
9% of all-time downloads
All-time downloads
545
Public
Parameters
46M
184 MB on disk
Likes
2
Trending 1
Click a slice to open those files.
.safetensors184 MB · 100%
From the Hugging Face model README
Repository for SAM 2: Segment Anything in Images and Videos, a foundation model towards solving promptable visual segmentation in images and videos from FAIR. See the SAM 2 paper for more information.
The official code is publicly release in this repo. To download the SAM 2 (Hiera-S) checkpoint:
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id = "facebook/sam2-hiera-small", filename="sam2_hiera_small.pt", local_dir = "./")
To cite the paper, model, or software, please use the below:
@article{ravi2024sam2,
title={SAM 2: Segment Anything in Images and Videos},
author={Ravi, Nikhila and Gabeur, Valentin and Hu, Yuan-Ting and Hu, Ronghang and Ryali, Chaitanya and Ma, Tengyu and Khedr, Haitham and R{\"a}dle, Roman and Rolland, Chloe and Gustafson, Laura and Mintun, Eric and Pan, Junting and Alwala, Kalyan Vasudev and Carion, Nicolas and Wu, Chao-Yuan and Girshick, Ross and Doll{\'a}r, Piotr and Feichtenhofer, Christoph},
journal={arXiv preprint arXiv:2408.00714},
url={https://arxiv.org/abs/2408.00714},
year={2024}
}