Sharing a super-fast segmentation model today 💨 
text
Sharing a super-fast segmentation model today 💨 
new_line
SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
text
SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
new_line
It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
text
It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
new_line
from transformers import pipeline
generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
outputs = generator(image)
python
```python
from transformers import pipeline
generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
outputs = generator(image)
```
code_fence
new_line
Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
text
Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
new_line
https://huggingface.co/spaces/merve/slimsam
merve/slimsam
space
resource
https://huggingface.co/spaces/merve/slimsam
text
Sharing a super-fast segmentation model today 💨 
SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
```python
from transformers import pipeline
generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
outputs = generator(image)
```
Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
https://huggingface.co/spaces/merve/slimsam 
❤️
osanseviero linoyts abhishek clem lunarflu BrigitteTousi marcsun13 julien-c Pclanglais Dlbk samusenps Tonic sbarman25 pcuenq afrideva sbrandeis