This repository contains implementations of various deep learning models for image classification tasks, including Convolutional Neural Networks (CNNs) and Transfer Learning models.
-
LeNet-5 Pretrained Model:
- Implementation of LeNet-5 pretrained model on MNIST and CIFAR-10 datasets.
- Training and evaluation of the model.
- Visualization of the model architecture, training history, confusion matrix, and classification report.
-
ResNet-50 Transfer Learning:
- Implementation of transfer learning with the ResNet-50 model on MNIST and CIFAR-10 datasets.
- Training and evaluation of the model.
- Visualization of the model architecture, training history, confusion matrix, and classification report.
-
Inception Model:
- Implementation of an Inception model for MNIST classification.
- Training and evaluation of the model.
- Visualization of the model architecture, training history, confusion matrix, and classification report.
-
Xception Transfer Learning:
- Implementation of transfer learning with the Xception model on MNIST dataset.
- Hyperparameter optimization using Optuna.
- Training and evaluation of the model.
- Training and evaluation of Random Forest Classifier on extracted features.
- Visualization of precision, recall, F1 score, and confusion matrix.
Ensure you have the following libraries installed:
- TensorFlow
- NumPy
- Matplotlib
- Seaborn
- Scikit-learn
- Optuna (for Xception Transfer Learning)
To use the code:
-
Clone the repository:
git clone <repository_url>
-
Navigate to the repository directory:
cd <repository_directory>
-
Run the respective Python scripts to train and evaluate the models for image classification.