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
File size: 133 Bytes
c3baac5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b94d2769cf0df3a0a98ed81648d2cff96d602cb4a8b0b871f631621b75ad8bd3
size 14262989
|