Update README
#1
by
pcuenq
HF Staff
- opened
README.md
CHANGED
|
@@ -1,10 +1,28 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pipeline_tag: mask-generation
|
| 4 |
-
library_name:
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
To cite the paper, model, or software, please use the below:
|
| 10 |
```
|
|
@@ -15,4 +33,4 @@ To cite the paper, model, or software, please use the below:
|
|
| 15 |
url={https://arxiv.org/abs/2408.00714},
|
| 16 |
year={2024}
|
| 17 |
}
|
| 18 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pipeline_tag: mask-generation
|
| 4 |
+
library_name: coreml
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# SAM2 Tiny Core ML
|
| 8 |
+
|
| 9 |
+
SAM 2 (Segment Anything in Images and Videos), is a collection of foundation models from FAIR that aim to solve promptable visual segmentation in images and videos. See the [SAM 2 paper](https://arxiv.org/abs/2408.00714) for more information.
|
| 10 |
+
|
| 11 |
+
This is the Core ML version of [SAM 2 Tiny](https://huggingface.co/facebook/sam2-hiera-tiny), and is suitable for use with the [SAM2 Studio demo app](https://github.com/huggingface/sam2-swiftui). It was converted in `float16` precision using [this fork](https://github.com/FL33TW00D/segment-anything-2/tree/feature/SAM2) of the original code repository.
|
| 12 |
+
|
| 13 |
+
## Download
|
| 14 |
+
|
| 15 |
+
Install `huggingface-cli`
|
| 16 |
+
|
| 17 |
+
```bash
|
| 18 |
+
brew install huggingface-cli
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
huggingface-cli download --local-dir models coreml-projects/coreml-sam2-tiny
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Citation
|
| 26 |
|
| 27 |
To cite the paper, model, or software, please use the below:
|
| 28 |
```
|
|
|
|
| 33 |
url={https://arxiv.org/abs/2408.00714},
|
| 34 |
year={2024}
|
| 35 |
}
|
| 36 |
+
```
|