Instructions to use google/mobilenet_v2_1.0_224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/mobilenet_v2_1.0_224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/mobilenet_v2_1.0_224") 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("google/mobilenet_v2_1.0_224") model = AutoModelForImageClassification.from_pretrained("google/mobilenet_v2_1.0_224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#5
by madgetr - opened
No description provided.
Hello, I generated the safetensors from the space provided.
Thanks @madgetr , I merged this one: https://huggingface.co/google/mobilenet_v2_1.0_224/discussions/4
Safetensors are now supported for this repository. Thanks!