Home›Library›AI & Data Science

Curated Library

PyTorch Beginner Series: Tensors, Autograd, Training and Deployment

An eight-part walkthrough of the core PyTorch toolchain, from tensors and automatic differentiation through building models with nn.Module, training with Dataset and DataLoader, and visualizing runs in TensorBoard. It finishes with model interpretability using Captum and a first look at production inference deployment. It suits programmers who know basic Python and machine learning ideas and want a working picture of the PyTorch workflow.

  • 8 lessons
  • 2h 22m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons byPyTorch on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

8 lessons2h 22m total
One block per lesson, sized by its length

What You'll Learn

  • Create, copy and manipulate PyTorch tensors, including math and logic operations on them
  • Explain how Autograd computes gradients at runtime and why that speeds up the backward pass in training
  • Build models by subclassing the Module class and using Parameter objects
  • Load data with the Dataset and DataLoader classes and choose a loss function and optimizer for a training loop
  • Log and view training progress with PyTorch's TensorBoard support
  • Apply Captum attribution methods to explain model output and layer activity
  • Describe the basic options for deploying a trained model for inference

Prerequisites

  • Basic Python programming
  • Familiarity with core machine learning ideas such as training, loss and gradients
  • A Python environment with PyTorch installed to follow along

Course Curriculum

8 lessons · 2h 22m

About the Instructor

PyTorch

YouTube creator

8 lessons here 2h 22m

The lessons in this course were produced by PyTorch and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and PyTorch is not affiliated with YodaHut.

Visit the channel on YouTube

More in the Library: AI & Data Science