Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Aftabhussain
/
Tomato_Leaf_Classifier

Image Classification
Transformers
PyTorch
TensorBoard
vit
huggingpics
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use Aftabhussain/Tomato_Leaf_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Aftabhussain/Tomato_Leaf_Classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Aftabhussain/Tomato_Leaf_Classifier")
    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("Aftabhussain/Tomato_Leaf_Classifier")
    model = AutoModelForImageClassification.from_pretrained("Aftabhussain/Tomato_Leaf_Classifier")
  • Notebooks
  • Google Colab
  • Kaggle
Tomato_Leaf_Classifier / images
32.4 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Aftabhussain's picture
Aftabhussain
commit files to HF hub
d1b535f over 4 years ago
  • Bacterial_spot.JPG
    13.9 kB
    commit files to HF hub over 4 years ago
  • Healthy.JPG
    18.6 kB
    commit files to HF hub over 4 years ago