ayoubkirouane / VIT_Beans_Leaf_Disease_Classifier

huggingface.co
Total runs: 15
24-hour runs: 0
7-day runs: 1
30-day runs: -1
Model's Last Updated: September 18 2023
image-classification

Introduction of VIT_Beans_Leaf_Disease_Classifier

Model Details of VIT_Beans_Leaf_Disease_Classifier

Fine-Tuned ViT for Beans Leaf Disease Classification

Model Information
  • Model Name : VIT_Beans_Leaf_Disease_Classifier
  • Base Model : Google/ViT-base-patch16-224-in21k
  • Task : Image Classification (Beans Leaf Disease Classification)
  • Dataset : Beans leaf dataset with images of diseased and healthy leaves.
Problem Statement

The goal of this model is to classify leaf images into three categories:

{
  "angular_leaf_spot": 0,
  "bean_rust": 1,
  "healthy": 2,
}

image/png

Training results
Training Loss Epoch Step Validation Loss Accuracy
0.1495 1.54 100 0.0910 0.9774
0.0121 3.08 200 0.0155 1.0
Framework versions
  • Transformers 4.33.2
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.5
  • Tokenizers 0.13.3
Get Started With The Model:
! pip -q  install datasets transformers[torch]

from transformers import pipeline
from PIL import Image

# Use a pipeline as a high-level helper

pipe = pipeline("image-classification", model="ayoubkirouane/VIT_Beans_Leaf_Disease_Classifier")

# Load the image

image_path = "Your image_path "
image = Image.open(image_path)

# Run inference using the pipeline
result = pipe(image)

# The result contains the predicted label and the corresponding score
predicted_label = result[0]['label']
confidence_score = result[0]['score']

print(f"Predicted Label: {predicted_label}")
print(f"Confidence Score: {confidence_score}")

Runs of ayoubkirouane VIT_Beans_Leaf_Disease_Classifier on huggingface.co

15
Total runs
0
24-hour runs
1
3-day runs
1
7-day runs
-1
30-day runs

More Information About VIT_Beans_Leaf_Disease_Classifier huggingface.co Model

More VIT_Beans_Leaf_Disease_Classifier license Visit here:

https://choosealicense.com/licenses/apache-2.0

VIT_Beans_Leaf_Disease_Classifier huggingface.co

VIT_Beans_Leaf_Disease_Classifier huggingface.co is an AI model on huggingface.co that provides VIT_Beans_Leaf_Disease_Classifier's model effect (), which can be used instantly with this ayoubkirouane VIT_Beans_Leaf_Disease_Classifier model. huggingface.co supports a free trial of the VIT_Beans_Leaf_Disease_Classifier model, and also provides paid use of the VIT_Beans_Leaf_Disease_Classifier. Support call VIT_Beans_Leaf_Disease_Classifier model through api, including Node.js, Python, http.

VIT_Beans_Leaf_Disease_Classifier huggingface.co Url

https://huggingface.co/ayoubkirouane/VIT_Beans_Leaf_Disease_Classifier

ayoubkirouane VIT_Beans_Leaf_Disease_Classifier online free

VIT_Beans_Leaf_Disease_Classifier huggingface.co is an online trial and call api platform, which integrates VIT_Beans_Leaf_Disease_Classifier's modeling effects, including api services, and provides a free online trial of VIT_Beans_Leaf_Disease_Classifier, you can try VIT_Beans_Leaf_Disease_Classifier online for free by clicking the link below.

ayoubkirouane VIT_Beans_Leaf_Disease_Classifier online free url in huggingface.co:

https://huggingface.co/ayoubkirouane/VIT_Beans_Leaf_Disease_Classifier

VIT_Beans_Leaf_Disease_Classifier install

VIT_Beans_Leaf_Disease_Classifier is an open source model from GitHub that offers a free installation service, and any user can find VIT_Beans_Leaf_Disease_Classifier on GitHub to install. At the same time, huggingface.co provides the effect of VIT_Beans_Leaf_Disease_Classifier install, users can directly use VIT_Beans_Leaf_Disease_Classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

VIT_Beans_Leaf_Disease_Classifier install url in huggingface.co:

https://huggingface.co/ayoubkirouane/VIT_Beans_Leaf_Disease_Classifier

Url of VIT_Beans_Leaf_Disease_Classifier

VIT_Beans_Leaf_Disease_Classifier huggingface.co Url

Provider of VIT_Beans_Leaf_Disease_Classifier huggingface.co

ayoubkirouane
ORGANIZATIONS

Other API from ayoubkirouane