Code Monkey home page Code Monkey logo

dl-dogsvscats's Introduction

DogsVsCats

This repository consist of three different types of technique that can be used for image classification task by using very little amount of dataset. These models are developed in such a way that they can distinguish between images , in this particular case i made a binary image classifier to differentiate between images of cats and dogs. The techniques that are used here are :-

  • 1st_convNet.ipynb :- Training a small network from scratch (as a baseline model).
  • 2nd_convNet.ipynb :- Using the bottleneck features of a pre-trained network.
  • 3rd_convNet.ipynb :- Fine-tuning the top layers of a pre-trained network.

title

A machine with keras, SciPy, PIL and cuDNN installed will sufficient for this task.

Dataset :

Dataset is available Over here. It is a big dataset so sample out only 1000 images of each class(dog and cat) for training and about 300 images for validation . Store these images in the following manner :-

title

  • A directory must contain one subdirectory per class where each subdirectory will be treated as a different class, so here label of an image is set in the form of directory name.
  • Images in a directory will be consider to have label as the name of that directory that they are stored in .
Reference :-

You can observe just by using transfer learning we can boost the accuracy of model by a huge margin , almost upto the optimal solution.

:)

dl-dogsvscats's People

Contributors

deimos-m 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.