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