Skip to Content
Hands-On Deep Learning for Images with TensorFlow
book

Hands-On Deep Learning for Images with TensorFlow

by Will Ballard
July 2018
Intermediate to advanced
96 pages
2h 8m
English
Packt Publishing
Content preview from Hands-On Deep Learning for Images with TensorFlow

Trained models in Docker containers

In the last section, we looked at creating a REST server for classifying images. In this section, we're going to look at preparing a Docker container to create a reasonable runtime environment for that server. As we look into this, we're going to ask the question: why use Docker to package up our machine learning models? Then, we'll actually investigate model training and then save a trained model for use in the Docker container followed by our server Dockerfile, which will package this all together. Finally, we'll build the Docker container for the reusable runtime of our REST service.

So, why Docker? Fundamentally, it makes your trained model portable. Unlike most of the programs you've created, which ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Neural Networks with TensorFlow 2.0

Hands-On Neural Networks with TensorFlow 2.0

Paolo Galeone

Publisher Resources

ISBN: 9781789538670Supplemental Content