Instructions to use SpotLab/MobileNetClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpotLab/MobileNetClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="SpotLab/MobileNetClassification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("SpotLab/MobileNetClassification") model = AutoModelForImageClassification.from_pretrained("SpotLab/MobileNetClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b94e397
1
Parent(s): 23dafc9
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -2023,6 +2023,5 @@
|
|
| 2023 |
"output_stride": 32,
|
| 2024 |
"semantic_loss_ignore_index": 255,
|
| 2025 |
"tf_padding": true,
|
| 2026 |
-
"
|
| 2027 |
-
"transformers_version": "4.25.0.dev0"
|
| 2028 |
}
|
|
|
|
| 2023 |
"output_stride": 32,
|
| 2024 |
"semantic_loss_ignore_index": 255,
|
| 2025 |
"tf_padding": true,
|
| 2026 |
+
"transformers_version": "4.33.3"
|
|
|
|
| 2027 |
}
|