Giter Site home page Giter Site logo

yuddim / deepclassificationtool Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 0.0 30 KB

Deep image classification tool based on Keras. Tool implements light versions of VGG, ResNet and InceptionV3 for small images

License: GNU General Public License v3.0

Python 100.00%
keras deep-learning deep-neural-networks classification image-classification image training testing vggnet resnet inceptionv3 inception-v3 tool python python3 python-3

deepclassificationtool's Introduction

deepClassificationTool

Deep Image Classification Tool based on Keras. Tool implements light versions of VGG, ResNet and InceptionV3 for small images. Tool uses python 3.5.

Tool has 3 modes:

  1. Training of new deep neural network (train_flag = True, tune_flag = False).
  2. Tuning of existing deep neural network (train_flag = True, tune_flag = True).
  3. Testing of existing (trained) deep neural network (train_flag = False, tune_flag = False) or (train_flag = False, tune_flag = True).

For training and tune mode you need two folders:

  1. Training folder with subfolders - one for each image class
  2. Test folder with subfolders - one for each image class

Example of folders tree:

 train/ImageClass1
      /ImageClass2
      /ImageClass3
      /ImageClass4
      ...

test/ImageClass1 
    /ImageClass2
    /ImageClass3
    /ImageClass4
    ...

Here each subfolder 'ImageClassi' consists set of images of i-th class.

Description of main modules:

deepClassificationTool.py - main module for training and testing of deep neural network

testFunctions.py - functions for testing of trained deep neural network on one image, two images and folder of images (with calculation of recall, precision for each class and accuracy)

modelVGGm.py - Light version of VGG for small images - Inspired from VGG, 2014 - VGGm(modified)

modelResNetM.py - Light version of ResNet for small images - resNetM (modified)

                # Reference - [Deep Residual Learning for Image Recognition](https://arxiv.org/abs/1512.03385)
                
                # Reference - [https://github.com/fchollet/keras/blob/master/keras/applications/resnet50.py]

modelInceptionV3m.py - Light version of inceptionV3 - inceptionV3m (modified)

                # Reference - [https://github.com/fchollet/keras/blob/master/keras/applications/inception_v3.py]
                
                # Reference - [Rethinking the Inception Architecture for Computer Vision](http://arxiv.org/abs/1512.00567)

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.