PyTorch: Advanced Architectures and Deployment
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
PyTorch: Advanced Architectures and Deployment
This course is part of PyTorch for Deep Learning Professional Certificate
Instructor: Laurence Moroney
2,387 already enrolled
Ask Coursera
18 reviews
Recommended experience
18 reviews
Recommended experience
What you'll learn
Design and implement advanced architectures in PyTorch.
Apply advanced techniques in vision, language, and generative modeling—including Transformers and diffusion models.
Prepare, compress, and deploy models for real-world use.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your Software Development 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 DeepLearning.AI
There are 4 modules in this course
Advance your PyTorch skills by building sophisticated deep learning models and preparing them for deployment. You’ll design custom architectures that go beyond Sequential models, exploring Siamese Networks, ResNet, and DenseNet to understand how modern systems handle complex data.
You’ll build Transformer architectures and explore how attention mechanisms power modern language models. You’ll also learn how diffusion models generate realistic images by reversing noise. Along the way, you’ll visualize model behavior using saliency maps and class activation maps, and prepare models for deployment with ONNX, MLflow, pruning, and quantization. By the end, you’ll be ready to create efficient, interpretable, and deployable PyTorch models for real-world deep learning tasks.
This module introduces custom architectures that go beyond Sequential models, showing how PyTorch’s dynamic graphs support multi-input/multi-output design, parameter sharing, conditional execution, and dynamic creation. You’ll build Siamese Networks, ResNet, and DenseNet to see how architectural choices solve real challenges like similarity comparison, vanishing gradients, and information reuse.
What's included
5 videos3 readings2 assignments1 programming assignment3 ungraded labs
5 videos•Total 35 minutes
- Conversation between Laurence Moroney and Andrew Ng•2 minutes
- Custom Architectures•8 minutes
- Siamese Networks•7 minutes
- ResNet•9 minutes
- DenseNet•8 minutes
3 readings•Total 13 minutes
- Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!•1 minute
- (Optional) Downloading your Notebook, Downloading your Workspace and Refreshing your Workspace•2 minutes
- Module 1 Resources•10 minutes
2 assignments•Total 30 minutes
- Quiz 1•10 minutes
- Quiz 2•20 minutes
1 programming assignment•Total 180 minutes
- Classification and Visual Search•180 minutes
3 ungraded labs•Total 180 minutes
- Applied Similarity Learning: Signatures & Satellites•60 minutes
- Unlocking Network Depth: ResNet Architecture•60 minutes
- Beyond Shortcuts: DenseNet Architecture•60 minutes
This module explores specialized vision approaches in PyTorch, starting with how receptive fields grow in CNNs and moving into interpretability tools like saliency maps and Grad-CAM to reveal what drives model predictions. You’ll then dive into generative models, using diffusion techniques with Hugging Face’s diffusers library and Stable Diffusion to create images while experimenting with parameters that shape the output.
What's included
5 videos1 reading2 assignments1 programming assignment3 ungraded labs
5 videos•Total 41 minutes
- CNNs: Feature Maps and Receptive Fields•9 minutes
- Saliency Maps •8 minutes
- Class Activation Maps•9 minutes
- Diffusion•8 minutes
- Image Generation Walkthrough•7 minutes
1 reading•Total 10 minutes
- Module 2 Resources•10 minutes
2 assignments•Total 30 minutes
- Quiz 1•10 minutes
- Quiz 2•20 minutes
1 programming assignment•Total 180 minutes
- Fruit Quality Inspection and Generation•180 minutes
3 ungraded labs•Total 180 minutes
- Visualizing and Interpreting Convolutional Neural Networks•60 minutes
- Saliency and Class Activation Maps•60 minutes
- Stable Diffusion: From Image Classification to Generative Modeling•60 minutes
This module demystifies transformer architectures by showing how modern NLP models are built from familiar PyTorch components like linear layers, embeddings, and attention. You’ll explore encoder-only, decoder-only, and encoder-decoder designs step by step, learning how attention, positional encoding, and cross-attention make these models so powerful for tasks from classification to translation.
What's included
5 videos1 reading2 assignments1 programming assignment3 ungraded labs
5 videos•Total 42 minutes
- Transformers •8 minutes
- Attention•9 minutes
- Encoders•8 minutes
- Decoders•9 minutes
- Encoder - Decoder•9 minutes
1 reading•Total 10 minutes
- Module 3 Resources•10 minutes
2 assignments•Total 30 minutes
- Quiz 1•10 minutes
- Quiz 2•20 minutes
1 programming assignment•Total 180 minutes
- Building a Translation System•180 minutes
3 ungraded labs•Total 180 minutes
- Self-Attention: Building the Foundation of Transformers•60 minutes
- Building a Transformer Encoder for Text Classification•60 minutes
- Understanding and Building Decoder Models•60 minutes
This module bridges the gap between training models and deploying them in the real world, covering how to save, track, and manage experiments with PyTorch serialization and MLflow. You’ll then make models portable with ONNX and optimize them for production using pruning and quantization techniques that shrink size and boost speed without losing accuracy.
What's included
6 videos3 readings2 assignments1 programming assignment4 ungraded labs
6 videos•Total 40 minutes
- Model Serialization and Version Control•8 minutes
- Exporting Models with ONNX•7 minutes
- Pruning•8 minutes
- Static and Dynamic Quantization•8 minutes
- Quantization Aware Training•7 minutes
- Conclusion•2 minutes
3 readings•Total 30 minutes
- Module 4 Resources•10 minutes
- Acknowledgments•10 minutes
- (Optional) Opportunity to Mentor Other Learners•10 minutes
2 assignments•Total 30 minutes
- Quiz 1•10 minutes
- Quiz 2•20 minutes
1 programming assignment•Total 180 minutes
- Optimizing Models for Metro City's Smart Fleet•180 minutes
4 ungraded labs•Total 240 minutes
- Model Training with MLflow: Tracking & Management•60 minutes
- From PyTorch to ONNX•60 minutes
- Introduction to Pruning with PyTorch•60 minutes
- A Practical Guide to Model Quantization in PyTorch•60 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.
Instructor
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free TrialD
DeepLearning.AI
Course
- Status: Free TrialStatus: AI skillsD
DeepLearning.AI
Professional Certificate
- Status: Free TrialC
Coursera
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
94.44%
- 4 stars
0%
- 3 stars
0%
- 2 stars
5.55%
- 1 star
0%
Showing 3 of 18
Reviewed on Dec 26, 2025
This course was so helpful in understanding the 'why' of the ML steps, not just the PyTorch itself.
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
More questions
Financial aid available,
