Book Image

Hands-On Deep Learning for Images with TensorFlow

By : Will Ballard
Book Image

Hands-On Deep Learning for Images with TensorFlow

By: Will Ballard

Overview of this book

TensorFlow is Google’s popular offering for machine learning and deep learning, quickly becoming a favorite tool for performing fast, efficient, and accurate deep learning tasks. Hands-On Deep Learning for Images with TensorFlow shows you the practical implementations of real-world projects, teaching you how to leverage TensorFlow’s capabilities to perform efficient image processing using the power of deep learning. With the help of this book, you will get to grips with the different paradigms of performing deep learning such as deep neural nets and convolutional neural networks, followed by understanding how they can be implemented using TensorFlow. By the end of this book, you will have mastered all the concepts of deep learning and their implementation with TensorFlow and Keras.
Table of Contents (7 chapters)

MNIST digits

Now, let's learn about MNIST digits. In this section, we'll look at the ImageData notebook that I've prepared to help us understand how to deal with image data; downloading and getting the MNIST digits; looking at images as raw numbers; and then finally, visualizing the actual images based on this numeric data.

The code we're going to be working with is contained in an IPython Notebook. This is the way we've set up our container, so you're going to be running your container like we mentioned at the end of the setting up your Machine Learning Toolkit. I've also prepared an ImageData IPython Notebook that we're going to be working with. We will start off by importing all the necessary packages, and we're going to, turn on Matplotlib in order to automatically plot. This means that when we show an image, we don't have...