Home›Library›AI & Data Science

Curated Library

PyTorch for Beginners: From Tensors to CNNs, RNNs and Deployment

A code-along introduction to PyTorch that starts with installation and tensors, then builds up through autograd, backpropagation, a training pipeline, regression, feed-forward nets, CNNs, and transfer learning. Later lessons cover TensorBoard, saving models, RNN/LSTM/GRU, Flask deployment, PyTorch Lightning, and learning-rate schedulers. It suits Python programmers who are new to deep learning frameworks.

  • 22 lessons
  • 6h 51m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons byPatrick Loeber 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.

22 lessons6h 51m total
One block per lesson, sized by its length

What You'll Learn

  • Create and manipulate tensors, and convert between NumPy arrays and PyTorch tensors
  • Compute gradients with autograd and explain how backpropagation works on a worked example
  • Implement linear regression by hand, then replace the manual pieces with PyTorch's model, loss and optimizer to form a standard training loop
  • Load data with Dataset and DataLoader, apply transforms, and train in batches
  • Build and train a feed-forward network on MNIST and a CNN on CIFAR-10, using softmax, cross entropy and activation functions
  • Fine-tune a pretrained ResNet, track training in TensorBoard, and save and load models
  • Build an RNN for name classification, switch between RNN, LSTM and GRU modules, and apply a learning-rate scheduler

Prerequisites

  • Basic Python programming, including classes and functions
  • Familiarity with NumPy is helpful but not required
  • Basic idea of what machine learning is (helpful, not required)

Course Curriculum

22 lessons · 6h 51m

About the Instructor

Patrick Loeber

YouTube creator

22 lessons here 6h 51m

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

Visit the channel on YouTube

More in the Library: AI & Data Science