Giter VIP home page Giter VIP logo

binary_ship_truck_classifier's Introduction

Ship Truck Classifier

A Binary image classifier using keras that classifies images of ship and truck
Notebook used for training the model can be found on the repo
The model is deployed as an API on heroku.

Link to the API https://truckshipclassification.herokuapp.com/detect

Usage of API

Send a POST request with the image with name "image" as form-data

drawing

Response from the API

drawing

Details

Trained on images of ships and trucks from cifar-10 dataset.
The dataset can be found on the repo
Dataset is trained on both Convolutional Neural Network and model using Transfer learning on VGG16

Using convolutional Neural Network

Used three block VGG model architechture, achieved 80% accuracy on the test dataset

Line plots of loss and accuracy Learning curves for the model

loss

accuracy

Using Transfer Learning on VGG16

VGG16 model has 2 parts, the feature extraction part of the model that is made up of VGG blocks, and classifier part of the model made using fully connected layers and the output layer
Used the feature extraction part of the model and added a new classifier part.
The weights of all the convolutional layers are fixed during training, and only trained the fully connected layers to learn to interpret the features extracted from the model for binary classification
The model achieved very impressive results with a classification accuracy of 97% on the test dataset

Line plots of loss and accuracy Learning curves for the model

drawing

drawing

The model is deployed on heroku using the flask web framework.

Packages Used

Please feel free to raise any issue...

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.