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") - Notebooks
- Google Colab
- Kaggle
Commit ·
9ccd2b6
1
Parent(s): a61b4ec
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"classifier_dropout_prob": 0.2,
|
| 6 |
"depth_divisible_by": 8,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"TFMobileNetV2ForImageClassification"
|
| 4 |
],
|
| 5 |
"classifier_dropout_prob": 0.2,
|
| 6 |
"depth_divisible_by": 8,
|