Book description
Build, train, deploy, and scale deep learning models quickly and accurately, improving your productivity using the lightweight PyTorch Wrapper
Key Features
- Become well-versed with PyTorch Lightning architecture and learn how it can be implemented in various industry domains
- Speed up your research using PyTorch Lightning by creating new loss functions, networks, and architectures
- Train and build new algorithms for massive data using distributed training
Book Description
PyTorch Lightning lets researchers build their own Deep Learning (DL) models without having to worry about the boilerplate. With the help of this book, you'll be able to maximize productivity for DL projects while ensuring full flexibility from model formulation through to implementation. You'll take a hands-on approach to implementing PyTorch Lightning models to get up to speed in no time.
You'll start by learning how to configure PyTorch Lightning on a cloud platform, understand the architectural components, and explore how they are configured to build various industry solutions. Next, you'll build a network and application from scratch and see how you can expand it based on your specific needs, beyond what the framework can provide. The book also demonstrates how to implement out-of-box capabilities to build and train Self-Supervised Learning, semi-supervised learning, and time series models using PyTorch Lightning. As you advance, you'll discover how generative adversarial networks (GANs) work. Finally, you'll work with deployment-ready applications, focusing on faster performance and scaling, model scoring on massive volumes of data, and model debugging.
By the end of this PyTorch book, you'll have developed the knowledge and skills necessary to build and deploy your own scalable DL applications using PyTorch Lightning.
What you will learn
- Customize models that are built for different datasets, model architectures, and optimizers
- Understand how a variety of Deep Learning models from image recognition and time series to GANs, semi-supervised and self-supervised models can be built
- Use out-of-the-box model architectures and pre-trained models using transfer learning
- Run and tune DL models in a multi-GPU environment using mixed-mode precisions
- Explore techniques for model scoring on massive workloads
- Discover troubleshooting techniques while debugging DL models
Who this book is for
This deep learning book is for citizen data scientists and expert data scientists transitioning from other frameworks to PyTorch Lightning. This book will also be useful for deep learning researchers who are just getting started with coding for deep learning models using PyTorch Lightning. Working knowledge of Python programming and an intermediate-level understanding of statistics and deep learning fundamentals is expected.
Table of contents
- Deep Learning with PyTorch Lightning
- Contributors
- About the authors
- Acknowledgements
- About the reviewers
- Preface
- Section 1: Kickstarting with PyTorch Lightning
-
Chapter 1: PyTorch Lightning Adventure
- What makes PyTorch Lightning so special?
- <pip install> – My Lightning adventure
- Understanding the key components of PyTorch Lightning
-
Crafting AI applications using PyTorch Lightning
- Image recognition models
- Transfer learning
- NLP Transformer models
- Lightning Flash
- Time series models with LSTM
- Generative Adversarial Networks with Autoencoders
- Self-Supervised models combining CNN and RNN
- Self-Supervised models for contrastive learning
- Deploying and scoring models
- Scaling models and productivity tips
- Further reading
- Summary
- Chapter 2: Getting off the Ground with the First Deep Learning Model
- Chapter 3: Transfer Learning Using Pre-Trained Models
- Chapter 4: Ready-to-Cook Models from Lightning Flash
- Section 2: Solving using PyTorch Lightning
- Chapter 5: Time Series Models
- Chapter 6: Deep Generative Models
- Chapter 7: Semi-Supervised Learning
- Chapter 8: Self-Supervised Learning
- Section 3: Advanced Topics
- Chapter 9: Deploying and Scoring Models
- Chapter 10: Scaling and Managing Training
- Other Books You May Enjoy
Product information
- Title: Deep Learning with PyTorch Lightning
- Author(s):
- Release date: April 2022
- Publisher(s): Packt Publishing
- ISBN: 9781800561618
You might also like
book
Deep Learning with PyTorch
Every other day we hear about new ways to put deep learning to good use: improved …
video
Deep Learning with PyTorch video edition
With this publication, we finally have a definitive treatise on PyTorch. It covers the basics and …
video
PyTorch for Deep Learning and Computer Vision
PyTorch has rapidly become one of the most transformative frameworks in the field of deep learning. …
book
Deep Learning from Scratch
With the resurgence of neural networks in the 2010s, deep learning has become essential for machine …