Home›Library›AI & Data Science
Curated LibraryDeep 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
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.
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- 01Introduction to Deep Learning with PyTorch and Colab Setup17:05
- 02Tensors in PyTorch10:05
- 03Tensor Operations: Reshape, View and Slicing11:09
- 04Tensor Math Operations12:17
- 05Building a Basic Neural Network Model15:40
- 06Loading Data and Training the Neural Network22:47
- 07Evaluating the Network on Test Data11:32
- 08Making Predictions on New Data5:24
- 09Saving and Loading a Trained Model4:29
- 10Convolutional Neural Networks: Introduction7:38
- 11Image Filters and Kernels10:21
- 12Convolutional Layers and RGB Images10:48
- 13Pooling Layers in CNNs6:11
- 14Importing the MNIST Dataset11:36
- 15Building Convolutional and Pooling Layers18:21
- 16Defining the CNN Model12:25
- 17Training and Testing the CNN16:52
- 18Graphing CNN Results8:57
- 19Classifying a New Image with the CNN5:40
About the Instructor
John Elder
YouTube creator
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 YouTubeMore in the Library: AI & Data Science

Time Series Forecasting with Python: ETS, ARIMA, Machine Learning, Deep Learning and Prophet

Time Series Forecasting in Python: ARIMA, VAR, Prophet and LSTM

Time Series Analysis and Forecasting in Python: From Stationarity to ARIMA and SARIMA

ComfyUI Academy: Build Stable Diffusion Workflows from Scratch

ComfyUI for AI Image Generation: Stable Diffusion, Flux, LoRAs, Upscaling and Editing
