Home›Library›AI & Data Science
Curated LibraryPyTorch 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
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 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- 01Installing PyTorch5:45
- 02Tensor Basics18:28
- 03Gradient Calculation with Autograd15:54
- 04Backpropagation: Theory with a Worked Example13:13
- 05Gradient Descent with Autograd and Backpropagation17:31
- 06Training Pipeline: Model, Loss, and Optimizer14:16
- 07Linear Regression12:11
- 08Logistic Regression18:22
- 09Dataset and DataLoader: Batch Training15:27
- 10Dataset Transforms10:43
- 11Softmax and Cross Entropy18:17
- 12Activation Functions10:00
- 13Feed-Forward Neural Network on MNIST21:34
- 14Convolutional Neural Network (CNN) on CIFAR-1022:07
- 15Transfer Learning with a Pretrained ResNet14:55
- 16Using TensorBoard25:41
- 17Saving and Loading Models18:24
- 18Deploying a PyTorch Model with Flask and Heroku41:52
- 19RNN Name Classification38:57
- 20RNN, LSTM and GRU with PyTorch Modules15:52
- 21PyTorch Lightning Basics28:02
- 22Learning Rate Schedulers13:29
About the Instructor
Patrick Loeber
YouTube creator
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 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
