Book Image

The Deep Learning with PyTorch Workshop

By : Hyatt Saleh
Book Image

The Deep Learning with PyTorch Workshop

By: Hyatt Saleh

Overview of this book

Want to get to grips with one of the most popular machine learning libraries for deep learning? The Deep Learning with PyTorch Workshop will help you do just that, jumpstarting your knowledge of using PyTorch for deep learning even if you’re starting from scratch. It’s no surprise that deep learning’s popularity has risen steeply in the past few years, thanks to intelligent applications such as self-driving vehicles, chatbots, and voice-activated assistants that are making our lives easier. This book will take you inside the world of deep learning, where you’ll use PyTorch to understand the complexity of neural network architectures. The Deep Learning with PyTorch Workshop starts with an introduction to deep learning and its applications. You’ll explore the syntax of PyTorch and learn how to define a network architecture and train a model. Next, you’ll learn about three main neural network architectures - convolutional, artificial, and recurrent - and even solve real-world data problems using these networks. Later chapters will show you how to create a style transfer model to develop a new image from two images, before finally taking you through how RNNs store memory to solve key data issues. By the end of this book, you’ll have mastered the essential concepts, tools, and libraries of PyTorch to develop your own deep neural networks and intelligent apps.
Table of Contents (8 chapters)

Introduction

Deep learning is a subset of machine learning that focuses on using neural networks to solve complex data problems. It is becoming increasingly popular nowadays, thanks to advances in software and hardware that allow us to gather and process large amounts of data (we are talking about millions and billions of entries). This is important considering that deep neural networks require vast amounts of data to perform well.

Some of the most well-known applications of deep learning are self-driving vehicles, popular chatbots, and a wide variety of voice-activated assistants, which will be further explained in this chapter.

PyTorch was launched back in 2017, and its main characteristic is that it uses graphics processing units (GPUs) to process data using "tensors". This allows algorithms to run at high speeds and, at the same time, it provides its users with flexibility and a standard syntax to obtain the best results for many data problems. Furthermore, PyTorch uses dynamic computational graphs that allow you to make changes to the network on the go. This book demystifies neural networks using PyTorch and helps you understand the complexity of neural network architectures.