Giter Site home page Giter Site logo

image-classifier-project's Introduction

Image-Classifier-Project

Developing an Image Classifier with Deep Learning.

This was my 2nd project as part of the Udacity Machine Learning Nanodegree Program. I used my knowledge of deep learning architectures to develop an Image Classifier using Pytorch deep learning framework. The project was in two parts. First, the deep neural network was built and trained on a flower dataset which contains over 100 categories. Then, it was converted into a command line application. The application is a pair of Python scripts (train.py and predict.py) which runs from the command line.

Transfer learning was used during the implementation of this project. The pretrained model, Vgg16 loaded from torchvision.models served as the pre-trained network while its pretrained layer parameters were frozen. During training, I modified the hyperparameters to suit my desired model. To this end, I did a bit of exploration before exploitation.

The command line applications (train.py and predict.py) both had different roles to play. For example, train.py was used to train a new network on a dataset and save the model as a checkpoint. On the other hand, predict.py uses the trained network to predict the class for an input image.

At the end of this project, the trained network was able to recognize a wide range of flower species.

Flower Classification 1

Flower Classification 2

image-classifier-project's People

Contributors

oluwabukolaadegboro 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.