m00nd00r / Dog-Breed-App

Deep Learning dog breed classification app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Overview

Create an app that will identify an estimate of a canine’s breed when given an image of a dog. If supplied an image of a human, the code will identify the resembling dog breed.

Sample Output

Project Instructions

Instructions

  1. Clone the repository and navigate to the downloaded folder.

    	git clone https://github.com/m00nd00r/DeepLearning.git
    	cd DeepLearning
    
  2. Download the dog dataset. Unzip the folder and place it in the repo, at location path/to/dog-project/dogImages.

  3. Download the human dataset. Unzip the folder and place it in the repo, at location path/to/dog-project/lfw. If you are using a Windows machine, you are encouraged to use 7zip to extract the folder.

  4. Donwload the VGG-16 bottleneck features for the dog dataset. Place it in the repo, at location path/to/DeepLearning/bottleneck_features.

  5. Obtain the necessary Python packages, and switch Keras backend to Tensorflow.

    For Mac/OSX:

    	conda env create -f requirements/aind-dog-mac.yml
    	source activate aind-dog
    	KERAS_BACKEND=tensorflow python -c "from keras import backend"
    

    For Linux:

    	conda env create -f requirements/aind-dog-linux.yml
    	source activate aind-dog
    	KERAS_BACKEND=tensorflow python -c "from keras import backend"
    

    For Windows:

    	conda env create -f requirements/aind-dog-windows.yml
    	activate aind-dog
    	set KERAS_BACKEND=tensorflow
    	python -c "from keras import backend"
    
  6. Open the notebook and follow the instructions.

    	jupyter notebook dog_app.ipynb
    

Amazon Web Services

Instead of training the model on a local CPU (or GPU), you could use Amazon Web Services to launch an EC2 GPU instance.

About

Deep Learning dog breed classification app.


Languages

Language:HTML 50.0%Language:Jupyter Notebook 50.0%Language:Python 0.0%