Instructions to use bhllx/mobilesam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bhllx/mobilesam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="bhllx/mobilesam")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("bhllx/mobilesam") model = AutoModelForMaskGeneration.from_pretrained("bhllx/mobilesam", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d993f1971517769b150fd63df4cd4d6313d3b86f7fa54b1abae571a3fb527da9
- Size of remote file:
- 40.7 MB
- SHA256:
- 85856b790fa147009e78431288f1b3f7bfcda8cc55ed3a43f836a13701401489
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.