Giter Site home page Giter Site logo

roadway_intel's Introduction

Roadway Intel

Vehicle make and model classification in Tensorflow by fine-tuning VGG16

Dataset

Training dataset consisted of 841 vehicle make/models from CompCars dataset[1]

Architecture

A VGG16 model pre-trained on ImageNet was fine-tuned with CompCars dataset (~100,000 images - 120 images/class)

Training and evaluation pipeline was inspired from Tensorflow's CIFAR tutorial. VGG16 model weights from Caffe Model Zoo were converted to numpy native fromat using caffe-tensorflow tool.

Example Usage

Make sure you've extracted CompCars dataset to PROJECT_ROOT/.

Training:

python -B main.py -t --batch_size 40 --epochs 200 --base_learning_rate=0.0001
--decay_factor=0.1 --decay_epochs=100 --no_gpus=2

Evaluation:

python -B main.py -e --batch_size 40

Results

Accuracy: 93.12% top-5 after 115 epochs Conv5 (Conv5_1, Conv5_2, Conv5_3), FC6, FC7 and FC8 were fine-tuned with vanilla SGD.
Base learning rate of 0.0001 and batch size of 70 were used.

References

[1] Linjie Yang, Ping Luo, Chen Change Loy, Xiaoou Tang. A Large-Scale Car Dataset for Fine-Grained Categorization and Verification, In Computer Vision and Pattern Recognition (CVPR), 2015.

roadway_intel's People

Contributors

zaheersm avatar

Watchers

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