Skip to content
/ CNN Public

Keras and Theano source code on image classifying.

Notifications You must be signed in to change notification settings

phidang/CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNN

Keras and Theano source code on image classifying. The code trains a simple CNN model to classify images into 4 classes. The dataset includes 2550 training images from 4 classes and 100 evaluation images, all of them are stored in the "img_data.pkl" using Pickle Library. The "cnn.py" code just loads images from this file, then processes training part and testing part.

Installing frameworks and libraries (Ubuntu)

  • Open your command line tool (terminal) and type these commands

Installing Keras and Theano

Installing Theano and its dependencies

  • sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
  • sudo pip install Theano

Installing Keras

  • sudo pip install keras

Installing h5py

  • sudo pip install h5py

How to run

  • Open your command line tool (terminal) and type the following command:
  • python cnn.py

About

Keras and Theano source code on image classifying.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages