Downloads · 30 days
31
45% of all-time downloads
horshe/agrisentry-wheat-disease-classifier
agrisentry-wheat-disease-classifier is a machine learning model from horshe. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tensorflow. The card lists the license as mit.
A CNN-based disease classification model for wheat crops, part of the AgriSentry diagnostic system.
Downloads · 30 days
31
45% of all-time downloads
All-time downloads
69
Public
Repo size
23.6 MB
Likes
0
Public
Click a slice to open those files.
.h523.6 MB · 100%
From the Hugging Face model README
A CNN-based disease classification model for wheat crops, part of the AgriSentry diagnostic system.
This is a TensorFlow CNN model trained to classify diseases in wheat plants. It identifies three common wheat diseases and healthy crop status.
from huggingface_hub import InferenceClient
client = InferenceClient(model="your-username/agrisentry-wheat-disease-classifier")
# Load image and send for inference
with open("wheat_leaf.jpg", "rb") as f:
result = client.image_classification(f)
print(result)
import tensorflow as tf
from PIL import Image
import numpy as np
model = tf.keras.models.load_model('wheat_cnn.h5')
img = Image.open('wheat_leaf.jpg').resize((224, 224))
img_array = np.array(img) / 255.0
prediction = model.predict(np.expand_dims(img_array, axis=0))
MIT License - See LICENSE file for details
If you use this model, please cite:
@model{agrisentry_wheat_2026,
title={AgriSentry Wheat Disease Classifier},
author={AgriSentry Team},
year={2026}
}
This model is a diagnostic tool and should not replace professional agricultural consultation. Always verify results with domain experts.