Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Deep Learning with PyTorch Workshop

You're reading from   The Deep Learning with PyTorch Workshop Build deep neural networks and artificial intelligence applications with PyTorch

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781838989217
Length 330 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hyatt Saleh Hyatt Saleh
Author Profile Icon Hyatt Saleh
Hyatt Saleh
Arrow right icon
View More author details
Toc

Building a CNN

CNNs are the ideal architecture when dealing with an image data problem. However, they are often underused as they are typically used for image classification tasks, even though their abilities extend to other domains in the field of image processing. This chapter will not only explain the reasons why CNNs are so good at understanding images but will also identify the different tasks that can be tackled, as well as provide some examples of real-life applications.

Moreover, this chapter will explore the different building blocks of CNNs and their application using PyTorch to ultimately build a model that solves a data problem using one of PyTorch's datasets for image classification.

Why Are CNNs Used for Image Processing?

An image is a matrix of pixels, so why not just flatten the matrix into a vector and process it using a traditional neural network architecture? The answer is that, even with the simplest image, there are some pixel dependencies that alter...

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