Getting ready

We start this section by encouraging reader to read through the official documentation and the short tutorials on the TensorFlow Serving site available at https://www.tensorflow.org/serving/serving_basic.

For this example, we will reuse most of the RNN code we used in the on Predicting Spam with RNNs recipe in Chapter 9Recurrent Neural Networks. We will alter our model saving code to save a protobuf model in the correct folder structure that is necessary to use TensorFlow Serving.

Note that all scripts in this chapter should be executed from the command line bash prompt.

For the updated installation instructions, visit the official installation site at: https://www.tensorflow.org/serving/setup. Normal installation is as simple ...

Get TensorFlow Machine Learning Cookbook - Second Edition 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.