O'Reilly logo

Hands-On Serverless Deep Learning with TensorFlow and AWS Lambda by Rustem Feyzkhanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a first API project

Now let us start by creating the example of the deep learning API project. Before we start the project, let's look at our files: the main Python file and the service configuration file, along with some libraries files and the inception model.

In this project, we will be adding one events section and the endpoint name. In the Python file, we will be returning a JSON response to a request. Also, we will make Lambda accept the link to the image in the request and then apply it to a module. The we will be deploying the server and testing the files in the command line and browser, as we checked out in the previous section.

The present configuration file is a combination of changes from the previous section and is very ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required