Skip to content

The aim of this work is to build a model capable of classifying diseases in corn leaves. The classes are four: Common Rust, Gray Leaf Spot, Blight, and Healthy. Three different CNN-based models are employed, with the introduction of early exit layers in the last one.

Sottix99/CNN_Early_exit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Python TensorFlow

CNN with Early exit

This Repository refers to the Final Project of the course Neural Networks for Data Science (NNDS) at University Sapienza of Rome 2022/2023.

Abstract

The aim of this work is to build a model capable of classifying diseases in corn leaves. The classes are four: Common Rust, Gray Leaf Spot, Blight, and Healthy. Three different CNN-based models are employed, with the introduction of early exit layers in the last one.

Dataset

The dataset chosen for this homework is Corn and Maize Leaf Disease Dataset from kaggle. The authors of this dataset created it using the PlantVillage and PlantDoc datasets. In this dataset we have 4188 images divided into four classes, representing some of the different states the plant leaf can be in:

  • Common Rust - 1306 images
  • Gray Leaf Spot - 574 images
  • Blight -1146 images
  • Healthy - 1162 images

The idea of using this dataset stems from my interest in plants. Moreover, maize being a plant used all over the world, the ability to recognise diseases promptly can avoid unpleasant scenarios.

The task is Image Classification.

Since my dataset is not stored separately in train/validation/test i did it myself. I divided the data as follows:

  • 70% train set
  • 15% validation set
  • 15% test set

About

The aim of this work is to build a model capable of classifying diseases in corn leaves. The classes are four: Common Rust, Gray Leaf Spot, Blight, and Healthy. Three different CNN-based models are employed, with the introduction of early exit layers in the last one.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published