GithubHelp home page GithubHelp logo

a-t-em / binary-image-classification-cat-dog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 399 KB

Convoluted neural network with/without pre-trained base layer to classify cats/dogs.

Python 0.84% Jupyter Notebook 99.16%
image-classification imagedatagenerator keras-neural-networks mobilenetv2 tensorflow cnn-classification cnn-keras kaggle-dataset freecodecamp freecodecamp-project kaggle

binary-image-classification-cat-dog's Introduction

Cat vs Dog Classifier

This repository contains two models for classifying images of cats and dogs. The model from Kaggle was trained using the Kaggle cat vs dog dataset, which contains ~2,500 images of cats and dogs. The model for the freeCodeCamp project was trained using ~2,000 images provided by freeCodeCamp. Both datasets are balanced.

Kaggle Model
This is a simple CNN model. The model was trained without a pretrained base layer and utilizes a simple helper function to extract image and label data from the Kaggle dataset directory. It achieves an accuracy of around 70% on a held out test dataset of ~5,000 images.

freeCodeCamp Model
This model uses MobileNetV2 as a base layer for a Keras Sequential model. The images were augmented using ImageDataGenerator to improve prediction accuracy. It achieves over 90% accuracy on the 50 images in the testing batch for this project.

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.