Instructions to use hf-tiny-model-private/tiny-random-MobileNetV1ForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-MobileNetV1ForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-tiny-model-private/tiny-random-MobileNetV1ForImageClassification") 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("hf-tiny-model-private/tiny-random-MobileNetV1ForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-tiny-model-private/tiny-random-MobileNetV1ForImageClassification") - Notebooks
- Google Colab
- Kaggle
File size: 394 Bytes
bdf5fa9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"architectures": [
"MobileNetV1ForImageClassification"
],
"classifier_dropout_prob": 0.1,
"depth_multiplier": 0.25,
"hidden_act": "relu6",
"image_size": 32,
"initializer_range": 0.02,
"layer_norm_eps": 0.001,
"min_depth": 8,
"model_type": "mobilenet_v1",
"num_channels": 3,
"tf_padding": true,
"torch_dtype": "float32",
"transformers_version": "4.28.0.dev0"
}
|