Instructions to use Luke537/image_classification_food_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Luke537/image_classification_food_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Luke537/image_classification_food_model") 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("Luke537/image_classification_food_model") model = AutoModelForImageClassification.from_pretrained("Luke537/image_classification_food_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f0db54d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a1ee3f8fbd11f414b411adb4d0dd13269cc8b8724365f2c3cdb212fc46ca97e2
size 3963
|