GithubHelp home page GithubHelp logo

walton-wang929 / image_classification Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 38.21 MB

Image Classification using TensorFlow Mobile, Slim and Keras

Home Page: http://walton-wang.com/Image_Classification/

Python 89.99% Java 5.23% Shell 2.17% Jupyter Notebook 2.61%
image-classification image-recognition keras-classification-models tflite slim tensorflow-slim

image_classification's Introduction

Overview

This repo contains three methods for training and deploying a image classification task.

  • In Image_Classfication_Keras/, use keras to train a network, including training, testing codes.
  • In Image_Classfication_Mobile, use TFmobile/TFLite to train, trained network can deploy on mobile devices.
  • In Image_Classification_TensorflowSlim, use TFSlim as a base to train, focus on realize high accurate precision, run by Personal PC / server.

Usually, there are several steps for a Image_Classfication_work.

step1: data collection and argumentation

  • open source data: There are many open source dataset from the world. like ImageNet, COCO, PASVAL, google Open Images, and some kaggle public competition dataset.
  • collected by yourself data
  • data argumentation

step2: pretrained model comparison and selection

step3: training

step4: test trained model

  • calculate numeric metrics(Accuracy, Precision, Recall, F1)
  • determine classification threshold (ROC Curve, PR curve)
  • No Prediction bias

step5: deployment to mobile or cloud server

  • TF Mobile and TF lite
  • PC
  • server

Demo

I fine trained a VGG16 gender recognition model based on my own dataset[22000].

source video

KLIA Airport

reference:

  1. image-classify-server
  2. GenderClassifierCNN
  3. deep-machine-learning/Retrained-InceptionV3
  4. tensorflow-for-poets-2: TFlite
  5. tensorflow-for-poets-2: Optimize for Mobile
  6. googlecodelabs/tensorflow-for-poets-2
  7. tensorflow-for-poets
  8. TensorFlow-Slim image classification model library
  9. TensorFlow-Slim

image_classification's People

Contributors

walton-wang929 avatar

Stargazers

 avatar  avatar  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.