Home›Library›AI & Data Science

Curated Library

Deep Learning with PyTorch: Tensors, Neural Networks and CNNs

A beginner-oriented walkthrough of PyTorch in Google Colab. It starts with tensors and basic operations, then builds a feed-forward network to classify the Iris dataset, then a convolutional neural network to classify MNIST digits. Suits Python users who are new to deep learning and want to see complete train, evaluate, save and predict workflows.

  • 19 lessons
  • 3h 39m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons byJohn Elder 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.

19 lessons3h 39m total
One block per lesson, sized by its length

What You'll Learn

  • Create, reshape, slice and do arithmetic on PyTorch tensors, and convert NumPy arrays to tensors
  • Define a neural network as an nn.Module class with a forward function and train it with a loss criterion and optimizer
  • Load a CSV dataset with pandas, split it with scikit-learn, and train and evaluate a model on the Iris flower data
  • Save and reload a trained model's state_dict and use it to predict on new data points
  • Explain image kernels, stride, convolutional layers, RGB channels and max/average pooling
  • Build, train, test and graph a CNN on MNIST with DataLoaders, then classify a single new image

Prerequisites

  • Basic Python (functions, classes, loops)
  • A Google account for Colab; no local GPU needed
  • No advanced math required; the course explains concepts at an intuitive level

Course Curriculum

19 lessons · 3h 39m

About the Instructor

John Elder

YouTube creator

19 lessons here 3h 39m

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

Visit the channel on YouTube

More in the Library: AI & Data Science