Downloads · 30 days
1.5K
98% of all-time downloads
Armaan457/AgriVerse-Vision
AgriVerse-Vision is a image classification model from Armaan457. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
AgriVerse-Vision is a vision model fine-tuned from google/vit-base-patch16-224 to classify crop health and diagnose 60 plant diseases across 16 crop species.
Downloads · 30 days
1.5K
98% of all-time downloads
All-time downloads
1.5K
Public
Parameters
85.8M
1 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt687 MB · 67%
From the Hugging Face model README
AgriVerse-Vision is a vision model fine-tuned from google/vit-base-patch16-224 to classify crop health and diagnose 60 plant diseases across 16 crop species.
The model is the primary visual diagnostic component of the AgriVerse agricultural decision-support system.
google/vit-base-patch16-224transformers Pipelinefrom PIL import Image
from transformers import pipeline
classifier = pipeline(
task="image-classification",
model="Armaan457/AgriVerse-Vision"
)
image = Image.open("leaf_image.jpg").convert("RGB")
predictions = classifier(image, top_k=5)
for pred in predictions:
print(f"{pred['label']:<32} Confidence: {pred['score']:.4f}")