Instructions to use dima806/food_type_image_detection_new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/food_type_image_detection_new with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dima806/food_type_image_detection_new") 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("dima806/food_type_image_detection_new") model = AutoModelForImageClassification.from_pretrained("dima806/food_type_image_detection_new") - Notebooks
- Google Colab
- Kaggle
See https://www.kaggle.com/code/dima806/food-type-detection-vit for more details.
- Downloads last month
- 4
Model tree for dima806/food_type_image_detection_new
Base model
google/vit-base-patch16-224-in21k