ethz/food101
Viewer β’ Updated β’ 101k β’ 50.1k β’ 139
How to use Shresthadev403/food-image-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Shresthadev403/food-image-classification")
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("Shresthadev403/food-image-classification")
model = AutoModelForImageClassification.from_pretrained("Shresthadev403/food-image-classification", device_map="auto")This model was trained from scratch on the food101 dataset It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training: