
# Model Trained Using AutoTrain

- Problem type: Image Classification

## Validation Metrics
No validation metrics available

#Inference Pipeline
-
-Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes:

```python
from transformers import AutoModelForImageClassification, AutoProcessor

model = AutoModelForImageClassification.from_pretrained("ozair23/autotrain-w5nk2-rvmqx")
processor = AutoProcessor.from_pretrained("ozair23/autotrain-w5nk2-rvmqx")

def predict(image):
    inputs = processor(images=image, return_tensors="pt")
    outputs = model(**inputs)
    return outputs
```
apple___apple_scab apple___black_rot apple___cedar_apple_rust apple___healthy blueberry___healthy cherry_(including_sour)___powdery_mildew cherry_(including_sour)___healthy corn_(maize)___cercospora_leaf_spot gray_leaf_spot corn_(maize)___common_rust_ corn_(maize)___northern_leaf_blight corn_(maize)___healthy grape___black_rot grape___esca_(black_measles) grape___leaf_blight_(isariopsis_leaf_spot) grape___healthy orange___haunglongbing_(citrus_greening) peach___bacterial_spot peach___healthy pepper,_bell___bacterial_spot pepper,_bell___healthy potato___early_blight potato___late_blight potato___healthy raspberry___healthy soybean___healthy squash___powdery_mildew strawberry___leaf_scorch strawberry___healthy tomato___bacterial_spot tomato___early_blight tomato___late_blight tomato___leaf_mold tomato___septoria_leaf_spot tomato___spider_mites two-spotted_spider_mite tomato___target_spot tomato___tomato_yellow_leaf_curl_virus tomato___tomato_mosaic_virus tomato___healthy