Downloads · 30 days
12
17% of all-time downloads
maviya25/potato-disesase
potato-disesase is a image classification model from maviya25. Use it when you need a label for an image. It is set up for keras. The card lists the license as mit.
This is a Convolutional Neural Network (CNN) model built using TensorFlow/Keras to classify potato leaf diseases into three categories: 1. Early Blight (PotatoEarlyblight) 2. Late Blight (PotatoLateblight) 3. Healthy…
Downloads · 30 days
12
17% of all-time downloads
All-time downloads
72
Public
Repo size
4 MB
Likes
0
Public
Click a slice to open those files.
.keras2.3 MB · 58%
From the Hugging Face model README
This is a Convolutional Neural Network (CNN) model built using TensorFlow/Keras to classify potato leaf diseases into three categories:
Potato___Early_blight)Potato___Late_blight)Potato___healthy)The model is trained on a dataset containing 2,152 images of potato leaves belonging to the three categories mentioned above.
To load the native Keras format model:
import tensorflow as tf
model = tf.keras.models.load_model("1.keras")
You can also use the SavedModel folder files to load the model:
import tensorflow as tf
# Load as an inference-only layer in Keras 3
model_layer = tf.keras.layers.TFSMLayer("./1", call_endpoint='serving_default')