Skip to content

mindcrunch4u/Generic-CNN-Project-with-Tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic-CNN-Project-with-Tensorflow

Classify images using CNN module from tensorflow.

Project setup

Install dependencies

  1. install python & tensorflow
  1. and everything else
  • Pillow
  • matplotlib
  • numpy

Running

$ python3 /path/to/classes.py

with tkinter, the GUI should look something like this:

Image of the interface

Usage

Prepare your dataset

  1. Each folder should contain multiple images.
  2. Each folder represents 1 class.
  3. Each folder's name will be used as class name.

Training

Simply select "Train" and click "Run".

Wait till the training is over.

Image of training session.

Predicting

Select target directory containing images.

Click "Test" and then "Run".

Predictions are shown in the message box(top left).

Image of predicting

Limitations

  • Images are not scaled dynamically. Sampling height/width should equal to that of training.
  • Images are not cleaned, anything from the background are used in training.
  • "Training Checkpoints" not yet implemented, beware of machine shutting down during training.

About

Classify images using CNN module from tensorflow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages