- Keras Model
Setting up Keras models in Cloud Functions.
We'll cover the following
Since Cloud Functions provide a requirements file that can be used to add additional dependencies to a function, it’s also possible to serve Keras models with this approach.
We’ll be able to reuse most of the code from the past lessons, and we’ll also use the Keras and Flask approach introduced previously in the course.
Updating libraries and memory
Given the size of the Keras libraries and dependencies, we’ll need to upgrade the memory available for the Function from 256 MB to 1GB. We also need to update the requirements file to include Keras:
Get hands-on with 1200+ tech skills courses.