Building Deep Learning Models Using PyTorch
PyTorch is an open source deep learning framework originally developed by the AI teams at Facebook. PyTorch offers high-level APIs which make it easy to build neural networks and great support for distributed training and prediction.
What you'll learn
PyTorch is an open source, deep learning framework which is a popular alternative to TensorFlow and Apache MXNet. PyTorch APIs follow a Python-native approach which, along with dynamic graph execution, make it very intuitive to work with for Python developers and data scientists.
In this course, Building Deep Learning Models Using PyTorch, you will learn to work with PyTorch and all the libraries that it has to offer, from first principles - starting with Torch tensors, dynamic computation graphs, and the autograd library, to compute gradients.
You'll start off by understanding the basics of training a neural network, the forward and backward passes, and gradient computation. You will use these concepts to build simple neural networks to predict automobile prices, as well as who survived and who did not on the Titanic.
Next, you'll move on to image classification using convolutional neural networks; you'll study the role of convolutional and pooling layers and the basic structure of a CNN, you'll then build a CNN to classify images from the Cifar-10 dataset. You'll also see how you can leverage the power of transfer learning by using pre-trained models for image classification.
Finally, you'll get to work with recurrent neural networks for sequence data, seeing how the dynamic computation graph execution in PyTorch makes building RNNs very simple. You'll use RNNs with long memory cells to predict gender using baby names.
At the end of this course, you will be comfortable using PyTorch libraries and APIs to leverage pre-trained models that PyTorch offers and also to build your own custom model for your specific use case.
Table of contents
- Version Check 0m
- Module Overview 2m
- Prerequisites and Course Outline 2m
- Neurons and Neural Networks 9m
- Introducing PyTorch 6m
- Installing PyTorch 2m
- Tensors 3m
- Creating and Working with PyTorch Tensors 6m
- Operations with Tensors 5m
- The Computation Graph 4m
- Gradient Descent 5m
- Forward and Backward Passes 3m
- Module Overview 1m
- Understanding Gradients 6m
- Introducing Autograd 5m
- Reverse-mode Automatic Differentiation to Calculate Gradients 9m
- Linear Model Using Autograd 7m
- Exploring the Automobile Price Prediction Dataset 7m
- Price Prediction Using a Fully Connected Neural Network 6m
- Optimizers 3m
- Neural Networks for Classification 5m
- Exploring the Titanic Dataset for Classification 5m
- Training the Neural Network 6m
- Plotting Accuracy and Loss Metrics 2m
- Module Overview 1m
- Perceiving an Image 2m
- Convolutional Layers 7m
- Pooling Layers 3m
- CNN Architectures 3m
- Batch Normalization 4m
- Exploring The CIFAR10 Dataset 5m
- Demo Building and Training the CNN 6m
- Predictions on Test Data 2m
- Transfer Learning 5m
- ResNet Pretrained Model: Data Exploration 7m
- ResNet Pretrained Model: Data Exploration, Helper Functions 5m
- ResNet Pretrained Model: Training and Prediction 3m
- Using a Pretrained Model with Frozen Layers 3m
- Module Overview 1m
- Recurrent Neurons 5m
- Unrolling RNN Memory Cells Through Time 3m
- Long Memory Cells 2m
- Gender Prediction of Names RNN Structure 5m
- Prepare the Names Dataset 4m
- Building the RNN 3m
- Training the RNN 2m
- Confusion Matrix 2m
- Plotting Name Predictions in a Confusion Matrix 3m
- Summary and Further Study 2m