Git Product home page Git Product logo

dog-breed-classifier-python's Introduction

Use a Pre-trained Image Classifier to Identify Dog Breeds

Steps to run the project:

  1. Install pytorch from the this link
  2. Clone the project and go to the project directory:
git clone https://github.com/souravverma94/pre_trained_imgclassifier_dogBreeds.git
cd pre_trained_imgclassifier_dogBreeds
  1. Run the project using following commands:
# provide command line argumets to run a specific architecture and pet image folder
python check_images.py --dir <dog images folder path> --arch <architecture vgg | alexnet | resnet> --dogfile <textfile that contains dog names>
# for example to run vgg model use this command:
python check_images.py --dir pet_images/ --arch vgg --dogfile dognames.txt
  1. If you are on a linux system, you can execute all three models vgg[4], alexnet[5], resnet[6] without executing the above statement thrice. There is an automated script provided to run that. Use the following command:
./run_models_batch.sh

The above command will generate three text files[vgg_pet-images.txt, alexnet_pet-images, resnet_pet-images.txt] containing output of three models.

Refrences:

  1. https://www.udacity.com/course/ai-programming-python-nanodegree--nd089
  2. https://github.com/pytorch/pytorch
  3. http://www.image-net.org/
  4. https://arxiv.org/pdf/1409.1556v6.pdf
  5. https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf
  6. https://arxiv.org/pdf/1512.03385v1.pdf

dog-breed-classifier-python's People

Contributors

souravverma94 avatar

Watchers

James Cloos avatar  avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.