Code Monkey home page Code Monkey logo

car-make-model-and-year-classifier's Introduction

Car make model and year classifier

This notebook trains three separate models to identify the make, model and year of a given car. They are trained using the Cars dataset, which contains 16,185 images of 196 classes of cars. The classes include 49 different labels for the make, 174 different labels for the model and 16 different labels for the year of production.

The training is done using Monk library, which is a low code Deep Learning tool and a unified wrapper for Computer Vision applications.

The commands to install the required libraries and to download and pre-process the dataset are included in the notebook, along with the descriptions wherever required.

For training, different models (resnet50, inception, both trained from scratch as well as using transfer learning), learning rates (from 0.001 to 0.1 in a number of steps), optimizers (stochastic gradient descent and RMSProp), batch sizes (16, 32, 64 and 128) and input sizes, were experimented with, and finally inception_v3 was used with transfer learning while freezing some initial layers during training, softmax cross entropy as the loss function, along with RMSProp optimizer, with the other hyper-parameters more fine tuned to each specific model.

The performance can be further improved by training for some more time, by using learning rate decay, using different optimizer, or even using a different model architecture.

The workspace with the trained models, intermediate models and training logs can be found here.

I have also developed a Flask API to return the predictions for any uploaded image. Check it out here.

car-make-model-and-year-classifier's People

Contributors

piyushm1 avatar

Stargazers

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