Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
yuyanze cac650bf8f | 10 months ago | |
---|---|---|
.. | ||
assets | 10 months ago | |
utils | 10 months ago | |
.gitattributes | 10 months ago | |
README.md | 10 months ago | |
app.py | 10 months ago | |
requirements.txt | 10 months ago |
Demo of official PyTorch implementation of the .
MobileSAM performs on par with the original SAM (at least visually) and keeps exactly the same pipeline as the original SAM except for a change on the image encoder.
Specifically, we replace the original heavyweight ViT-H encoder (632M) with a much smaller Tiny-ViT (5M). On a single GPU, MobileSAM runs around 12ms per image: 8ms on the image encoder and 4ms on the mask decoder.
First, mobile_sam must be installed to run on pc. Refer to Installation Instruction
Then run the following
python app.py
The model is licensed under the Apache 2.0 license.
If you find this project useful for your research, please consider citing the following BibTeX entry.
@article{mobile_sam,
title={Faster Segment Anything: Towards Lightweight SAM for Mobile Applications},
author={Zhang, Chaoning and Han, Dongshen and Qiao, Yu and Kim, Jung Uk and Bae, Sung Ho and Lee, Seungkyu and Hong, Choong Seon},
journal={arXiv preprint arXiv:2306.14289},
year={2023}
}
移动端轻量化大模型SAM
Jupyter Notebook Python
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》