text
Sharing a super-fast segmentation model today 💨 
Sharing a super-fast segmentation model today 💨 
new_line
text
SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
new_line
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!)
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
code_fence
```python
from transformers import pipeline
generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
outputs = generator(image)
```
from transformers import pipeline
generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
outputs = generator(image)
python
new_line
text
Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
new_line
resource
https://huggingface.co/spaces/merve/slimsam
space
merve/slimsam
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