Haitham Khedr
commited on
Commit
•
ab0b8e8
1
Parent(s):
27f68b0
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
|
6 |
+
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](https://arxiv.org/abs/2408.00714) for more information.
|
7 |
+
|
8 |
+
|
9 |
+
The official code is publicly release in this [repo](https://github.com/facebookresearch/segment-anything-2/).
|
10 |
+
To download the SAM 2 (Hiera-L) checkpoint:
|
11 |
+
|
12 |
+
```
|
13 |
+
from huggingface_hub import hf_hub_download
|
14 |
+
hf_hub_download(repo_id = "facebook/sam2-hiera-large", filename="sam2_hiera_base_plus.pt", local_dir = "./")
|
15 |
+
```
|
16 |
+
|
17 |
+
### Citation
|
18 |
+
|
19 |
+
To cite the paper, model, or software, please use the below:
|
20 |
+
```
|
21 |
+
@article{ravi2024sam2,
|
22 |
+
title={SAM 2: Segment Anything in Images and Videos},
|
23 |
+
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},
|
24 |
+
journal={arXiv preprint arXiv:2408.00714},
|
25 |
+
url={https://arxiv.org/abs/2408.00714},
|
26 |
+
year={2024}
|
27 |
+
}
|
28 |
+
```
|