/Deep-Learning-with-PyTorch-Lightning

Getting Started with PyTorch Lightning, Published by Packt

Primary LanguageJupyter NotebookMIT LicenseMIT

Packt Conference

3 Days, 20+ AI Experts, 25+ Workshops and Power Talks

Code: USD75OFF

Deep Learning with PyTorch Lightning

Deep Learning with PyTorch Lightning

This is the code repository for Deep Learning with PyTorch Lightning, published by Packt.

Swiftly build high-performance Artificial Intelligence (AI) models using Python

What is this book about?

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.

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

Most of the code is specific to the aforesaid PyTorch Lightning and Torch versions. Please ensure compatability by installing correct packages as defined in the technical requirements secction of the book.

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

import pytorch_lightning as pl
...
# use only 10% of the training data for each epoch
trainer = pl.Trainer(limit_train_batches=0.1)
# use only 10 batches per epoch
trainer = pl.Trainer(limit_train_batches=10)

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-10).

Software and Hardware List

Chapter Software required OS required
1 - 10 PyTorch Lightning Cloud, Anaconda (Mac, Windows)
1 - 10 Torch Cloud, Anaconda (Mac, Windows)
1 - 10 TensorBoard Cloud, Anaconda (Mac, Windows)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Kunal Sawarkar is a Chief Data Scientist and AI thought leader. He leads the worldwide partner ecosystem in building innovative AI products. He also serves as an Advisory Board Member and an Angel Investor. He holds a master’s degree from Harvard University with major coursework in applied statistics. He has been applying machine learning to solve previously unsolved problems in industry and society, with a special focus on Deep Learning. Kunal has led various AI product R&D labs and has 20+ patents and papers published in this field. When not diving into data, he enjoys doing rock climbing and learning to fly aircraft while continuing his insatiable curiosity for astronomy and wildlife.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800561618