Giter Site home page Giter Site logo

aditya-524 / imageclass_tl Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 368.98 MB

Image Classification using Transfer Learning

License: MIT License

Jupyter Notebook 99.05% Python 0.14% TeX 0.81%
cinic-10 convolutional-neural-networks deep-learning transfer-learning

imageclass_tl's Introduction

Image Classification with Transfer Learning

About The Project

This repository, focuses on exploring the effectiveness of transfer learning in image classification tasks. By leveraging pre-trained models, specifically VGG networks, the goal was to utilize pretrained ConvNet models using transfer learning, which significantly improved the classification accuracy with minimal computational resources compared to training models from scratch. Though the accuracy achieved was 53.09%

In my study, I used the VGG model with pretrained weights on IMAGENET and used a modified version of it to train on CINIC-10. I experimented with various configurations of the VGG model to classify images across multiple categories. The findings, detailed in my research paper and code.

Below are some of the results from the paper.

Training curves

Overview


Transfer Learning Efficiency: Utilizing VGG pre-trained models allows for considerable improvements in accuracy.
Model Comparison: Analysis of different VGG configurations to determine the most effective setup for our classification task.
Performance Metrics: Evaluation of models based on accuracy, precision, and recall metrics.

General Flowchart for the project

Implementing

The project is implemented using a jupyter notebook, so its fairly straightforward to download it directly to retest. Notebook I used 4 versions of the models

  1. VGG16 model with untrainable Convolutional layers and replacing the classifier with a flatten layer, dense layer with Relu activation and output layer with Softmax activation function

  1. The configuration is the same as model 1, in addition to that we introduce data augmentation for training the model

  1. The configuration is the same as model 1, in addition to that we introduce data augmentation for training and regularization methods such as Batch Normalization and Dropout Layer

  1. VGG16 model with fully trainable weights and replacing the classifier with a flatten layer, dense layer with Relu activation and output layer with Softmax activation function.

Dependencies

The code utilizes the python packages as such

  • matplotlib,
  • VisualKeras,
  • pickle,
  • numpy,
  • scikit-learn,
  • Tensorflow.

License

Distributed under the MIT License. See LICENSE for more information.

Authors

Project Link:Project
Kaggle Notebook:
Collab Notebook:

Thank you

Shows an illustrated sun in light mode and a moon with stars in dark mode.

Note

This is part of the Assignment of COMP SCI 7318 - Deep Learning Fundamentals, University of adelaide. I did not conduct hyperparameter tuning of the model, which is an essential step for achieving good accuracy.

imageclass_tl's People

Contributors

aditya-524 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.