Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering PyTorch

You're reading from  Mastering PyTorch

Product type Book
Published in Feb 2021
Publisher Packt
ISBN-13 9781789614381
Pages 450 pages
Edition 1st Edition
Languages
Author (1):
Ashish Ranjan Jha Ashish Ranjan Jha
Profile icon Ashish Ranjan Jha

Table of Contents (20) Chapters

Preface 1. Section 1: PyTorch Overview
2. Chapter 1: Overview of Deep Learning using PyTorch 3. Chapter 2: Combining CNNs and LSTMs 4. Section 2: Working with Advanced Neural Network Architectures
5. Chapter 3: Deep CNN Architectures 6. Chapter 4: Deep Recurrent Model Architectures 7. Chapter 5: Hybrid Advanced Models 8. Section 3: Generative Models and Deep Reinforcement Learning
9. Chapter 6: Music and Text Generation with PyTorch 10. Chapter 7: Neural Style Transfer 11. Chapter 8: Deep Convolutional GANs 12. Chapter 9: Deep Reinforcement Learning 13. Section 4: PyTorch in Production Systems
14. Chapter 10: Operationalizing PyTorch Models into Production 15. Chapter 11: Distributed Training 16. Chapter 12: PyTorch and AutoML 17. Chapter 13: PyTorch and Explainable AI 18. Chapter 14: Rapid Prototyping with PyTorch 19. Other Books You May Enjoy

Summary

In this final chapter of the book, we focused on both abstracting out the noisy details involved in model training code and the core components to facilitate the rapid prototyping of models. As PyTorch code can often be cluttered with a lot of such noisy detailed code components, we looked at some of the high-level libraries that are built on top of PyTorch.

First, we explored fast.ai, which enables PyTorch models to be trained in fewer than 10 lines of code. In the form of an exercise, we demonstrated the effectiveness of training a handwritten digit classification model using fast.ai. We used one of fast.ai's modules to load the dataset, another module to train and evaluate a model, and—finally—another module to interpret the trained model behavior.

Next, we looked at PyTorch Lightning, which is another high-level library built on top of PyTorch. We did a similar exercise of training a handwritten digit classifier. We demonstrated the code layout...

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 $15.99/month. Cancel anytime}