Instructions to use dima806/fruit_vegetable_image_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/fruit_vegetable_image_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dima806/fruit_vegetable_image_detection") 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("dima806/fruit_vegetable_image_detection") model = AutoModelForImageClassification.from_pretrained("dima806/fruit_vegetable_image_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (a338ff40c7eca73a6e47f991e0bbada0d401947f) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>02563e0
-
Update README.md
Verified signature5422eec
-
Create README.md
d300d0a -
Upload folder using huggingface_hub
f0cbdaf -
initial commit
449646b