Skip to content

NivaasSudhan/ImageClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Classifier

forthebadge forthebadge forthebadge

Install

Activate virtualenv

Click here to read about activating virtualenv.

  • For Linux

   $ source ./venv/bin/activate
  • For windows

   $ cd venv/Scripts/
   $ activate

Training & Testing

How to train: Place your own dataset in training_data and testing_data folders,

   $ cd tutorial-2-image-classifier

   $ python train.py

How to run:

   $ git clone https://github.com/sai-adarsh/ImageClassifier.git

   $ cd ImageClassifier

   $ pip install -r requirements.txt

Open and replace my project path with your respective path inside these files:

  • project\catvsdog\predictor\predict.py
  • tutorial-2-image-classifier\predict.py
  • tutorial-2-image-classifier\train.py

After installing all requirements, to run in cmd:

$ cd tutorial-2-image-classifier

$ python predict.py <imageInputFileName.extension>

To run the WebApp:

$ cd project\catvsdog

$ python manage.py runserver

About

Image classifier boiler plate using Tensorflow and OpenCV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published