Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Deep Learning with MXNet Cookbook

You're reading from  Deep Learning with MXNet Cookbook

Product type Book
Published in Dec 2023
Publisher Packt
ISBN-13 9781800569607
Pages 370 pages
Edition 1st Edition
Languages
Author (1):
Andrés P. Torres Andrés P. Torres
Profile icon Andrés P. Torres

Table of Contents (12) Chapters

Preface Chapter 1: Up and Running with MXNet Chapter 2: Working with MXNet and Visualizing Datasets – Gluon and DataLoader Chapter 3: Solving Regression Problems Chapter 4: Solving Classification Problems Chapter 5: Analyzing Images with Computer Vision Chapter 6: Understanding Text with Natural Language Processing Chapter 7: Optimizing Models with Transfer Learning and Fine-Tuning Chapter 8: Improving Training Performance with MXNet Chapter 9: Improving Inference Performance with MXNet Index Other Books You May Enjoy

Segmenting objects in images with MXNet – PSPNet and DeepLab-v3

In this recipe, we will see how to use MXNet and GluonCV on a pre-trained model, segmenting objects in images from a dataset. This means that we will be able to split objects into different classes, such as person, cat, and dog. When framing the problem as segmentation, the expected output is an image of the same size as the input image, with each pixel value being the classified label (we will analyze how this works in the following sections). We will see how to use GluonCV Model Zoo with two very important models for semantic segmentationPSPNet and DeepLab-v3.

In this recipe, we will compare the performance of these two pre-trained models to segment objects semantically on the dataset introduced in the previous chapter, Penn-Fudan Pedestrians, as its ground-truth also includes segmentation masks.

Getting ready

As with previous chapters, in this recipe, we will use a few matrix operations and...

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}