Skip to content

A tensorflow image classifier retrained with Inception v3 model to detect goku and gohan

Notifications You must be signed in to change notification settings

sudheerExperiments/Inception-retrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image classification using Inception v3

This project uses Inception v3 pre-trained model to build a binary image classifier to classify classes goku and gohan. Inception v3 model is already trained with thousands of image classes, but not with images of goku and gohan (Dragon ball anime characters). The project retrains the classifier to detect two more new class images along with thousands of image classes trained before.

Requirements:

Libraries: Python 3, Numpy, Scipy, Tensorflow.

Usage:

Just make folder "data" with "goku" and "gohan" folders.

Inception-retrain/data
Inception-retrain/data/goku
Inception-retrain/data/gohan

Train:

python retrain.py --bottleneck_dir output_dir/bottleneck --summaries-dir output_dir/summaries --output_labels output_dir/output_labels.txt --model_dir inception/ --image_dir data/ --output_graph output_dir/output.pb --how_many_training_steps 500

Test:

python retrain_model_classifier.py "data/gohan/images (4).png"

References:

  1. tensorflow_image_classifier
  2. source dexter

About

A tensorflow image classifier retrained with Inception v3 model to detect goku and gohan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages