ethz/food101
Viewer • Updated • 101k • 51.2k • 139
How to use qwe123432534/my_food_recognizer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="qwe123432534/my_food_recognizer")
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("qwe123432534/my_food_recognizer")
model = AutoModelForImageClassification.from_pretrained("qwe123432534/my_food_recognizer")Supervised Fine Tuned version of timm/vit_base_patch16_224.augreg2_in21k_ft_in1k on the ethz/food101 dataset.
Artefeacts: