Run this model with HF Jobs

Run rishabh914/leaf-disease-detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/rishabh914/leaf-disease-detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/rishabh914/leaf-disease-detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Leaf Disease Detection Model

This model can detect diseases in plant leaves using EfficientNetB3 architecture.

Usage

from huggingface_hub import hf_hub_download
import tensorflow as tf
import json

# Download model and class indices
model_path = hf_hub_download(repo_id="Rvish-glitch/leaf-disease-detection", filename="final_model.h5")
indices_path = hf_hub_download(repo_id="Rvish-glitch/leaf-disease-detection", filename="class_indices.json")

# Load model
model = tf.keras.models.load_model(model_path)

# Load class indices
with open(indices_path, 'r') as f:
    class_indices = json.load(f)

Classes

The model can detect various plant diseases across different crops including tomato, potato, apple, and corn.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support