Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Neural Networks with TensorFlow 2.0

You're reading from  Hands-On Neural Networks with TensorFlow 2.0

Product type Book
Published in Sep 2019
Publisher Packt
ISBN-13 9781789615555
Pages 358 pages
Edition 1st Edition
Languages
Author (1):
Paolo Galeone Paolo Galeone
Profile icon Paolo Galeone

Table of Contents (15) Chapters

Preface Section 1: Neural Network Fundamentals
What is Machine Learning? Neural Networks and Deep Learning Section 2: TensorFlow Fundamentals
TensorFlow Graph Architecture TensorFlow 2.0 Architecture Efficient Data Input Pipelines and Estimator API Section 3: The Application of Neural Networks
Image Classification Using TensorFlow Hub Introduction to Object Detection Semantic Segmentation and Custom Dataset Builder Generative Adversarial Networks Bringing a Model to Production Other Books You May Enjoy

Create a TensorFlow DatasetBuilder

In the same way as any other machine learning problem, the first step is getting the data. Since semantic segmentation is a supervised learning task, we need a classification dataset of images and corresponding labels. The peculiarity is that the label in itself is an image.

At the time of writing, there is no semantic dataset ready to use in TensorFlow Datasets. For this reason, we use this section not only to create tf.data.Dataset with the data that we need, but also to have a look at the process required to develop a tfds DatasetBuilder.

Since, in the previous section dedicated to the object detection, we used the PASCAL VOC 2007 dataset, we are going to reuse the downloaded files to create the semantic segmentation version of the PASCAL VOC 2007 dataset. The following screenshot shows how the dataset is provided. Each picture has a corresponding...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}