Instructions to use google/efficientnet-b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/efficientnet-b2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/efficientnet-b2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("google/efficientnet-b2") model = AutoModelForImageClassification.from_pretrained("google/efficientnet-b2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
faaffeb
-
Create README.md
d35f6af
-
Upload EfficientNetForImageClassification
388709f -
Upload processor
b8bfae5 -
Upload EfficientNetForImageClassification
26baf39 -
Upload processor
ee3f66c -
Upload EfficientNetForImageClassification
2bc26f8 -
Upload processor
fdc5bba -
initial commit
Alara Dirikfa86225