Deep Learning with PyTorch
Deep Learning with PyTorch
This course is part of multiple programs.
Instructors: Harish Pant
22,700 already enrolled
Included with
Ask Coursera
100 reviews
Recommended experience
100 reviews
Recommended experience
What you'll learn
Get hands-on experience using PyTorch to build and deploy AI systems and complete a portfolio-worthy project.
Develop and train shallow neural networks with various architectures and apply Softmax regression in multi-class classification problems.
Explore deep neural networks, including techniques such as dropout, weight initialization, and batch normalization.
Gain practical experience with convolutional neural networks, exploring layers, activation functions, and more.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate from IBM
There are 6 modules in this course
Get hands-on experience in building and deploying intelligent systems using PyTorch by using one of the most widely used deep learning frameworks in AI development.
In this practical course, you’ll gain job-ready skills in deep learning, machine learning, and neural networks, boosting your resume for roles like AI Engineer, Machine Learning Engineer, and Data Scientist. During the course, you’ll implement logistic regression and softmax regression, train deep neural networks, and build convolutional neural networks (CNNs) for real-world image classification tasks. You’ll master core techniques such as gradient descent, backpropagation, and cross entropy loss, while improving performance with weight initialization, dropout regularization, and batch normalization. Additionally, you’ll leverage GPU acceleration, perform hyperparameter tuning, and apply transfer learning using pretrained models such as ResNet18. Finally, you’ll complete a project, where you’ll design, train, and evaluate models using modern model optimization and data preprocessing workflows. Great to talk about in interviews! Enroll today to accelerate your career in deep learning, AI, and machine learning.
In this module, you’ll explore logistic regression training and cross-entropy loss in PyTorch. You’ll examine why mean squared error performs poorly for classification and how maximum likelihood connects to cross-entropy loss. Additionally, you’ll explore loss behavior, optimization surfaces, and classification training loops. The module also enables you to practice these concepts through guided labs and quizzes that focus on PyTorch implementation patterns.
What's included
3 videos1 reading2 assignments2 app items2 plugins
3 videos•Total 18 minutes
- Course Introduction•3 minutes
- Logistic Regression Cross-Entropy Loss•7 minutes
- Optimization Using Cross-Entropy Loss•7 minutes
1 reading•Total 10 minutes
- Course Overview•10 minutes
2 assignments•Total 40 minutes
- Practice Quiz: Training Logistic Regression with Cross-Entropy Loss•10 minutes
- Graded Quiz: Logistic Regression Cross-Entropy Loss•30 minutes
2 app items•Total 29 minutes
- Lab: Logistic Regression Mean Square Error•14 minutes
- Lab: Logistic Regression Cross Entropy•15 minutes
2 plugins•Total 6 minutes
- Reading: Helpful Tips for Course Completion•3 minutes
- Podcast: Summary and Highlights: Logistic Regression Cross-Entropy Loss•3 minutes
In this module, you’ll explore Softmax regression for multi-class classification and examine how Softmax converts model scores into class probabilities and how argmax supports prediction selection. You’ll practice building Softmax classifiers in PyTorch and step through end-to-end classification workflows. Further, you’ll implement Softmax-based models using PyTorch nn.Module patterns. Finally, you'll explore the role of activation functions in neural networks and learn about implementing Sigmoid, Tanh, and ReLU activation functions in PyTorch.
What's included
5 videos2 assignments3 app items1 plugin
5 videos•Total 30 minutes
- Introduction to the Softmax Function•6 minutes
- Softmax Function: Using Lines to Classify Data Prediction•6 minutes
- Softmax Classification Workflow in PyTorch•5 minutes
- Softmax Classification for MNIST in PyTorch•6 minutes
- Activation Functions•6 minutes
2 assignments•Total 40 minutes
- Practice Quiz: Building Softmax Regression Models with Activation Functions •10 minutes
- Graded Quiz: Building Softmax Regression Models with Activation Functions•30 minutes
3 app items•Total 80 minutes
- Softmax Classifier 1•30 minutes
- Softmax Classifier 2•30 minutes
- Activation Functions•20 minutes
1 plugin•Total 3 minutes
- Podcast: Summary and Highlights: Building Softmax Regression Models with Activation Functions•3 minutes
In this module, you’ll build and train shallow neural networks using PyTorch model patterns such as nn.Module and nn.Sequential. You’ll work with hidden layers, forward-pass computations, and activation functions to see how networks form non-linear decision boundaries. You’ll also construct networks for multi-dimensional inputs and multiclass classification tasks. The module enables examining how hidden neuron counts affect model capacity and training behavior. Finally, you’ll explore backpropagation, gradient flow, vanishing gradients, and the effects of overfitting and underfitting as you configure and adjust shallow network architectures.
What's included
6 videos2 assignments5 app items1 plugin
6 videos•Total 37 minutes
- Neural Network Structure and Hidden Layers•7 minutes
- Forward Propagation in Neural Networks•6 minutes
- More Hidden Neurons•5 minutes
- Neural Networks with Multiple Dimensional Input•7 minutes
- Multiclass Neural Networks•6 minutes
- Backpropagation•7 minutes
2 assignments•Total 40 minutes
- Practice Quiz: Shallow Neural Networks•10 minutes
- Graded Quiz: Developing Shallow Neural Networks •30 minutes
5 app items•Total 110 minutes
- Neural Networks in One Dimension•20 minutes
- Neural Network with Different Activation Functions•20 minutes
- More Hidden Neurons•25 minutes
- Multidimensional Neural Network•25 minutes
- Multi-Class Neural Networks with MNIST•20 minutes
1 plugin•Total 3 minutes
- Podcast: Shallow Neural Networks•3 minutes
In this module, you’ll construct deep neural networks using layered PyTorch architectures and flexible model patterns such as nn.ModuleList. You’ll configure multi-layer networks with different activation functions and layer sizes to examine how depth and structure affect training behavior. Further, you’ll apply techniques such as dropout, weight initialization methods, momentum-based optimization, and batch normalization to stabilize and accelerate training. Finally, you’ll explore how initialization choices and normalization layers influence gradient flow and convergence in deeper models.
What's included
9 videos3 assignments10 app items2 plugins
9 videos•Total 47 minutes
- Deep Neural Networks•5 minutes
- Deeper Neural Networks: nn.ModuleList()•4 minutes
- How Dropout Reduces Overfitting•7 minutes
- Using Dropout in PyTorch Models•3 minutes
- Current Trends in PyTorch•4 minutes
- Neural Network Initialization Weights•7 minutes
- Gradient Descent with Momentum: Initialization Failures and Vanishing Gradients•7 minutes
- Gradient Descent with Momentum: Xavier and He Initialization Methods•6 minutes
- Batch Normalization•5 minutes
3 assignments•Total 50 minutes
- Practice Quiz: Building Deep Neural Networks•10 minutes
- Practice Quiz: Neural Network Initialization Weights•10 minutes
- Graded Quiz: Optimizing Deep Networks •30 minutes
10 app items•Total 200 minutes
- Deep Neural Networks•10 minutes
- Deeper Neural Networks: nn.ModuleList()•20 minutes
- Using Dropout in Regression•10 minutes
- Using Dropout for Classification•20 minutes
- Initialization with Same Weights•30 minutes
- Test Default, Xavier, and Uniform Initialization on MNIST Dataset with Tanh Activation•25 minutes
- Test Default, He, and Uniform Initialization on MNIST Dataset with ReLU Activation•15 minutes
- Momentum with Different Polynomials•25 minutes
- Neural Networks with Momentum•20 minutes
- Batch Normalization with the MNIST Dataset•25 minutes
2 plugins•Total 7 minutes
- Reading: The Role of Dropout in Regularization and Model Generalization•3 minutes
- Podcast: Summary and Highlights: Optimizing Deep Networks •4 minutes
In this module, you’ll build convolutional neural networks for image classification using PyTorch CNN components. You’ll apply convolution operations, stride, padding, activation maps, and pooling layers to understand how spatial features are detected and reduced across layers. Additionally, you’ll assemble CNN architectures and step through the constructor, forward pass, and training workflow in PyTorch. You’ll also learn to work with GPU and CUDA execution patterns and examine how hardware acceleration supports CNN training. Finally, you’ll explore residual network concepts, pretrained models such as ResNet18 with TorchVision, and transfer learning patterns used in modern CNN pipelines.
What's included
8 videos2 assignments6 app items3 plugins
8 videos•Total 45 minutes
- Convolution Fundamentals and Activation Maps•7 minutes
- Video: Activation Functions and Max Pooling •6 minutes
- Multiple Input and Output Channels•7 minutes
- Convolutional Neural Network•6 minutes
- Convolutional Neural Network for MNIST•6 minutes
- Introduction to Residual Networks (ResNet)•5 minutes
- TorchVision Models•5 minutes
- Graphics Processing Unit•3 minutes
2 assignments•Total 40 minutes
- Practice Quiz: Building Convolutional Neural Networks•10 minutes
- Graded Quiz: Building Convolutional Neural Networks•30 minutes
6 app items•Total 235 minutes
- Lab: What's Convolution•25 minutes
- Lab: Activation Function and Max Pooling•30 minutes
- Multiple Input and Output Channels•60 minutes
- Convolutional Neural Network Simple Example•30 minutes
- Convolutional Neural Network MNIST•30 minutes
- Convolutional Neural Networks with Batch Normalization•60 minutes
3 plugins•Total 14 minutes
- Reading: Stride, Padding, and Convolution in PyTorch•6 minutes
- Reading: ResNet18 and Image Classification•5 minutes
- Podcast: Summary and Highlights: Building Convolutional Neural Networks•3 minutes
In this module, you’ll complete a guided final project focused on convolutional neural network classification in PyTorch. You’ll build, configure, and train a CNN using a structured dataset workflow and apply model setup, forward-pass, and training patterns. You’ll move through project design, model training, and evaluation steps as you assemble your solution.
What's included
2 readings1 assignment1 peer review3 app items2 plugins
2 readings•Total 2 minutes
- Congratulations and Next Steps•1 minute
- Team and Acknowledgments•1 minute
1 assignment•Total 30 minutes
- Final Exam•30 minutes
1 peer review•Total 15 minutes
- Option 2: Peer Graded - Final Project Submission and Evaluation•15 minutes
3 app items•Total 95 minutes
- Option 1: AI Graded - Final Project: Submission and Evaluation•5 minutes
- Practice Project: Convolutional Neural Network for Anime Image Classification•30 minutes
- Final Project: Fashion MNIST Classification•60 minutes
2 plugins•Total 7 minutes
- Reading: Final Project Submission Guidelines and Deliverables•3 minutes
- Course Wrap-up •4 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Explore more from Machine Learning
- Status: Free TrialC
Coursera
Course
- Status: Free TrialStatus: AI skillsD
DeepLearning.AI
Professional Certificate
- Status: Free Trial
Course
- Status: Free Trial
Why people choose Coursera for their career
Learner reviews
- 5 stars
78.21%
- 4 stars
11.88%
- 3 stars
1.98%
- 2 stars
2.97%
- 1 star
4.95%
Showing 3 of 100
Reviewed on Apr 7, 2025
not get the certificate I complete the total course
Reviewed on Feb 8, 2025
Perfect course with the right amount of difficulty and perfect learning
Reviewed on Feb 8, 2026
This course is very good. Very informative and interesting.
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Frequently asked questions
PyTorch is one of the most widely used deep learning frameworks in industry and research. It offers flexibility, ease of use, and strong community support, making it a valuable tool for building and training neural networks.
You will learn to build, train, and optimize neural networks using PyTorch, progressing from regression models to deep and convolutional neural networks for image classification.
Yes, this is an intermediate course. A basic understanding of Python and foundational machine learning concepts is recommended.
More questions
Financial aid available,
