How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="sasha/dog-food-convnext-tiny-224")
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("sasha/dog-food-convnext-tiny-224")
model = AutoModelForImageClassification.from_pretrained("sasha/dog-food-convnext-tiny-224", device_map="auto")
Quick Links

dog-food-convnext-tiny-224

This model was trained on the train split of the Dogs vs Food dataset -- try training your own using the the demo on Google Colab!

Example Images

dog

dog

food

food

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train sasha/dog-food-convnext-tiny-224

Evaluation results