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

Understanding convolutional neural networks

In the previous chapters, we have used fully connected Multi-Layer Perceptron (MLP) networks to solve our regression and classification problem. However, as we will see, these networks are not optimal for solving image-related problems.

Images are highly dimensional entities – for example, each pixel in a color image has three features (red, green, and blue values), and a 1,024x1,024 image has more than 1 million pixels (a 1 megapixel image) and, therefore, more than 3 million features (3 * 106). If we connect all these points in the input layer, to a second layer of 100 neurons for a fully connected network, we will require more than 108 parameters, and that would be only for the first layer. Processing images is, therefore, a time-intensive operation.

Furthermore, imagine that we are trying to detect eyes in faces; if a pixel belongs to an eye, the likelihood of nearby pixels belonging to the eye is very high (think of the...

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 €14.99/month. Cancel anytime}