Mask Generation
sam2
Haitham Khedr commited on
Commit
d3cb537
·
verified ·
1 Parent(s): cd2a12a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
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