Image Classification
Transformers
ONNX
Safetensors
vit
vision transformer
agriculture
plant disease detection
smart farming
image classification
Instructions to use cabrel09/crop_leaf_disease_detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cabrel09/crop_leaf_disease_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="cabrel09/crop_leaf_disease_detector") 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("cabrel09/crop_leaf_disease_detector") model = AutoModelForImageClassification.from_pretrained("cabrel09/crop_leaf_disease_detector") - Notebooks
- Google Colab
- Kaggle
Ctrl+K