/resnetDogsBreedsClassifier

Machine Learning Webservice, trained neural network which predicts the breed out of any dog image out of 120 classes

Primary LanguagePython

Neural Network Dogs Breeds Classifier

Hacked the resnet to predict 120 classes


usage :

  • py dogs.py pilou.jpg # => breed + probability
  • py dogs.py &;#runs flask on 127.0.0.1:8080 in background, model gets preloaded => better response times

then perform your postdata using curl such as :

  • curl -k 127.0.0.1:8080 -F "input=unexpected";#returns ko
  • curl -k 127.0.0.1:8080 -F "filepath=pilou.jpg";#samoyed
  • curl -k 127.0.0.1:8080 -F "dogPicture=@pilou.jpg";#samoyed

--- based on stanford-dogs-dataset todo : add the original work notebook and presentation --- © 2020 Alpow 🗲☻

visitors