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