8 Serverless deep learning
This chapter covers
- Serving models with TensorFlow Lite—a lightweight environment for applying TensorFlow models
- Deploying deep learning models with AWS Lambda
- Exposing the lambda function as a web service via API Gateway
In the previous chapter, we trained a deep learning model for categorizing images of clothing. Now we need to deploy it, making the model available for other services.
We have many possible ways of doing this. We have already covered the basics of model deployment in chapter 5, where we talked about using Flask, Docker, and AWS Elastic Beanstalk for deploying a logistic regression model.
In this chapter, we’ll talk about the serverless approach for deploying models—we’ll use AWS Lambda.
8.1 Serverless: ...
Get Machine Learning Bookcamp now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.