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") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10bea2105d069d086d3416d36704110fba2aab44ff3c49eaca32f8cdf63d9ef7
|
| 3 |
+
size 40613056
|