Giter Site home page Giter Site logo

naureen20 / image-classification-using-transfer-learning-and-optimal-learning-rate-estimation Goto Github PK

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

Classifying Images of 10 categories of animals taken from Kaggle Database using VGG16, ResNet-50 and imagenet. Learning Rates for respective models is Estimated from Epoch Vs Learning Rate graph obtained using Learning rate finder function

License: MIT License

Jupyter Notebook 100.00%
vgg16 resnet-50 learning-rate-estimation dataaugmentation cnn-keras cnn-classification transfer-learning

image-classification-using-transfer-learning-and-optimal-learning-rate-estimation's Introduction

Image-Classification-using-Transfer-Learning-and-optimal-Learning-Rate-Estimation

Classifying Images of 10 categories of animals, using VGG16, ResNet-50 and imagenet. Images have been collected from Google and launched in Kaggle Data sets. Learning Rates for respective models is Estimated from Epoch Vs Learning Rate graph obtained using Learning rate finder function. Optimal learning rate for VGG16 model is found to be 1e-4 and for ResNet50 as 5e-5. VGG16 model gave a training accuracy of 97.040 % and validation accuracy of 96.210 %.ResNet50 gave a train accuracy=90.222 %,Val accuracy=90.170 %.

Image Preprocessing Includes Resizing, Reshaping, One-Hot vectorizing categories(animal names), Changing label names from Spanish to English, train-validation split and Data Augmentation

Creating CNN Models with Transfer Learning Includes creating VGG16 and ResNet50 models, obtaining a graph of Learning Rate vs epochs using the defined Defining LEARNING RATE FINDER function

The above image gives optimal learning rate for ResNet50

The above image gives optimal learning rate for VGG16. >It is Observed that VGG16 gave better accuracy than ResNet50

image-classification-using-transfer-learning-and-optimal-learning-rate-estimation's People

Contributors

naureen20 avatar

Stargazers

 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.