ColinShaw / python-keras-flask-deployment-example

An example of deploying a Keras VGG16 ImageNet classifier using Flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keras Flask Deployment

This is an example of deploying a Keras model using Flask for image classification. It is just the stock ImageNet VGG16 model with some abstraction around the model and image pre-processing. A convenient shell script is provided to launch the Flask app. You can submit the test image from command line:

curl -X POST -F 'image=@images/dog.jpg' http://localhost:5000/predict

About

An example of deploying a Keras VGG16 ImageNet classifier using Flask


Languages

Language:Python 99.9%Language:Shell 0.1%