Skip to content

Using pre-trained models and transfer learning, the aim is to classify the five classes of grapevine leaves. We see the effects of autoencoders on the accuracy and use 10 fold cross validation as a measurement.

Notifications You must be signed in to change notification settings

proshir/Grapevine_Leaves_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Grapevine_Leaves_Classification

pic2

This project focuses on classifying grapevine leaves into five distinct classes using advanced techniques like transfer learning and autoencoders. By harnessing pre-trained models, we aim to enhance classification accuracy while exploring the effects of dimensionality reduction and data augmentation through image generation. Our evaluation method employs 10-fold cross-validation for robust results.

Libraries and Frameworks Used

  • PIL: Python Imaging Library for image manipulation
  • pandas: Data manipulation and analysis
  • numpy: Numerical computing
  • tensorflow: Deep learning framework
  • matplotlib: Data visualization
  • scikit-learn: Machine learning
  • keras: Deep learning
  • seaborn: Statistical data visualization

Key Sections

Data Preparation: This section involves loading the grapevine leaves dataset, organizing the data, and creating a structured dataframe for analysis.

Data Augmentation: We employ various transformations to augment the images, diversifying the training data and improving model generalization.

Autoencoder Implementation: We construct an autoencoder model with multiple layers to perform dimensionality reduction.

Model Training: The pre-trained models (VGG19, ResNet50, EfficientNetB3) are trained using transfer learning techniques on the grapevine leaves dataset.

Model Evaluation: The trained models undergo rigorous evaluation through 10-fold cross-validation, and accuracy is the primary metric.

Results Analysis: Performance analysis includes the use of confusion matrices and visualizations to gain insights into model behavior.

Image Generation & Testing: Additional data samples are generated for further model testing.

Model Accuracy

VGG19: 69% ResNet50: 69% EfficientNetB3: 76% EfficientNetB3 after image generation: 92%

These findings showcase the significant performance boost achieved by implementing image generation techniques with EfficientNetB3, resulting in an impressive accuracy rate of 92%.

About

Using pre-trained models and transfer learning, the aim is to classify the five classes of grapevine leaves. We see the effects of autoencoders on the accuracy and use 10 fold cross validation as a measurement.

Resources

Stars

Watchers

Forks