The examples covered in this post will serve as a template/starting point for building your own deep learning APIs … Some of the issues that I’ll cover include handling a custom metric when using model persistence with Keras, dealing with multi-threading concerns when using Keras in combination with Flask, and getting it all running on an EC2 instance. The complete code listing for this post is av
![Deploying Keras Deep Learning Models with Flask](https://cdn-ak-scissors.b.st-hatena.com/image/square/9e79b4e6e72254bf155a30fc7ceeaf9a1108a40f/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A800%2F0%2ARtEhSUbFk8yNAoln.jpg)