How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="OttoYu/LeafCondition")
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("OttoYu/LeafCondition")
model = AutoModelForImageClassification.from_pretrained("OttoYu/LeafCondition")
Quick Links

Validation Metrics

  • Loss: 0.021
  • Accuracy: 1.000
  • Macro F1: 1.000
  • Micro F1: 1.000
  • Weighted F1: 1.000
  • Macro Precision: 1.000
  • Micro Precision: 1.000
  • Weighted Precision: 1.000
  • Macro Recall: 1.000
  • Micro Recall: 1.000
  • Weighted Recall: 1.000
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train OttoYu/LeafCondition

Space using OttoYu/LeafCondition 1