Haitham Khedr
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,12 @@ Repository for SAM 2: Segment Anything in Images and Videos, a foundation model
|
|
7 |
|
8 |
|
9 |
The official code is publicly release in this [repo](https://github.com/facebookresearch/segment-anything-2/).
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
### Citation
|
12 |
|
|
|
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-B+) checkpoint:
|
11 |
+
|
12 |
+
```
|
13 |
+
from huggingface_hub import hf_hub_download
|
14 |
+
hf_hub_download(repo_id = "facebook/sam2-hiera-base-plus", filename="sam2_hiera_base_plus.pt", local_dir = "./")
|
15 |
+
```
|
16 |
|
17 |
### Citation
|
18 |
|