Giter Site home page Giter Site logo

dogsandcats's Introduction

Dogs and Cat classifier.

Along with cloning this repository. Clone this repository https://github.com/fchollet/deep-learning-models.

Dependencies:

  • keras
  • tensorflow/theano
  • numpy
  • matplotlib
  • bcolz
  • pillow
  • h5

Files:

  1. image classifier in 7 step . ipynb :

    • Predicts image offline.
    • Image must be one of 1000 categories in imagenet dataset.
  2. CNN - 1. ipynb:

    • Notebook contains:

      1. Simple convolutional architecture:
        • 1 convolution layer
        • 1 maxpooling layer
        • 1 flatten layer
        • 1 dense layer
    • Ran on small dataset.

    • Saved the architecture in h5 format.

  3. CNN - 2 . ipynb:

    • Loaded the architecture.
    • Predicting the image.
  4. Vgg architecture from scratch . ipynb:

    • Created vgg-16 cnn architecture from scratch.
    • Architecture contains:
      1. convolution layers with zero padding layer. ( several convolution layers with varying no of filters. Maxpooling layer in between)
      2. Flatten layer
      3. 2 Dense layers.
      4. 3rd dense layer with 1 ouput for cats and dogs ( in original there are 1000 outputs )
    • Tried to saved the model.
  5. Advanced vgg architecture . ipynb:

    • Splitting the convolutional computation part & remaining part of the model.
    • used bcolz for faster run time.
    • Reduced underfitting:
      • Removal/reduced dropout.
    • Reduced overfitting:
      • Data Augmentation.
      • Batch Normalization.
  6. Fine tuning and Back Propagation:

    • Fine tuning is to modify existing model and create a secondary model.
    • Doing Back Propagation in few lines

dogsandcats's People

Contributors

rajendra7406-2 avatar

Watchers

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