Mask Generation
sam2
File size: 1,485 Bytes
1ecb4a2
 
 
 
 
 
a7906b4
 
1ecb4a2
a7906b4
1ecb4a2
 
 
a7906b4
 
 
 
1ecb4a2
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
license: apache-2.0
pipeline_tag: mask-generation
library_name: sam2
---

MedSAM2 Small - CoreML Version
MedSAM2 Small is a specialized version of SAM2 for medical image segmentation tasks, now available for use with CoreML. This model is optimized to work seamlessly on Apple devices, enabling efficient, on-device predictions. To get started, follow the instructions below.

For detailed information, refer to the SAM2 paper and the official repository. The official code is publicly release in this [repo](https://github.com/facebookresearch/segment-anything-2/).

## Usage

1. Download the .zip files containing the CoreML model from the repo.
2. Extract the contents of the .zip file to a directory of your choice.
3. Push to [SAM2 Studio](https://github.com/huggingface/sam2-studio)
4. Open SAM2 Studio Repo on your Apple device using XCode.


### Citation

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}
}
```