In this talk Laura will explain how to create an online image classifier by deploying deep learning models with the use of Flask and Docker. She will begin by giving an overview of some deep learning architectures and how models can be trained using the Keras library in order to extract a wealth of different information about the content of images. She will cover how to make inference calls to the trained models in order to obtain a probability and class label. There will be a walkthrough of some coded examples.
Laura will lead on to cover the Flask framework and explain how to set up a server which listens on a port and returns a response upon receiving an HTTP request. She will explain how the trained image classification models can be placed onto the server and from there make predictions on previously unseen images.
In the second part of the talk Laura will give an introduction to containerised technology how it can be used to package up the image classifier and ship it as one application. She will introduce the containerised platform Docker and explain how it can be used to create, deploy and run the application. Practicalities such as running on GPU and in the cloud will also be discussed. In addition there will be some tips for an effective Docker-based workflow along with advice on best practices.
The talk will conclude by reflecting upon the advantages and disadvantages of using Docker in order to serve machine learning models versus a commercial production system.
Abstract & Bio
Image Detection as a Service: How we Use APIs and Deep Learning to Support our Products