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