Learn PyTorch for deep learning in a day. Literally.

Daniel Bourke July 24, 2022
Video Thumbnail

About

No channel description available.

Video Description

Welcome to the most beginner-friendly place on the internet to learn PyTorch for deep learning. All code on GitHub - https://dbourke.link/pt-github Ask a question - https://dbourke.link/pt-github-discussions Read the course materials online - https://learnpytorch.io Sign up for the full course on Zero to Mastery (20+ hours more video) - https://dbourke.link/ZTMPyTorch Below are the timestamps/outline of the video. The video you're watching is comprised of 162 smaller videos but YouTube limits timestamps at 100 so some have been left out. 00:00 Hello :) 🛠 Chapter 0: PyTorch Fundamentals 01:17 0. Welcome and "what is deep learning?" 07:13 1. Why use machine/deep learning? 10:47 2. The number one rule of ML 16:27 3. Machine learning vs deep learning 22:34 4. Anatomy of neural networks 31:56 5. Different learning paradigms 36:28 6. What can deep learning be used for? 42:50 7. What is/why PyTorch? 53:05 8. What are tensors? 57:24 9. Outline 1:03:28 10. How to (and how not to) approach this course 1:08:37 11. Important resources 1:14:00 12. Getting setup 1:21:40 13. Introduction to tensors 1:35:07 14. Creating tensors 1:53:33 17. Tensor datatypes 2:02:58 18. Tensor attributes (information about tensors) 2:11:22 19. Manipulating tensors 2:17:22 20. Matrix multiplication 2:47:50 23. Finding the min, max, mean and sum 2:57:20 25. Reshaping, viewing and stacking 3:11:03 26. Squeezing, unsqueezing and permuting 3:23:00 27. Selecting data (indexing) 3:32:33 28. PyTorch and NumPy 3:41:42 29. Reproducibility 3:52:30 30. Accessing a GPU 4:04:21 31. Setting up device agnostic code 🗺 Chapter 1: PyTorch Workflow 4:16:59 33. Introduction to PyTorch Workflow 4:19:46 34. Getting setup 4:27:02 35. Creating a dataset with linear regression 4:36:44 36. Creating training and test sets (the most important concept in ML) 4:52:50 38. Creating our first PyTorch model 5:13:13 40. Discussing important model building classes 5:19:41 41. Checking out the internals of our model 5:29:33 42. Making predictions with our model 5:40:47 43. Training a model with PyTorch (intuition building) 5:49:03 44. Setting up a loss function and optimizer 6:01:56 45. PyTorch training loop intuition 6:39:37 48. Running our training loop epoch by epoch 6:49:03 49. Writing testing loop code 7:15:25 51. Saving/loading a model 7:44:00 54. Putting everything together 🤨 Chapter 2: Neural Network Classification 8:31:32 60. Introduction to machine learning classification 8:41:14 61. Classification input and outputs 8:50:22 62. Architecture of a classification neural network 9:09:13 64. Turing our data into tensors 9:25:30 66. Coding a neural network for classification data 9:43:27 68. Using torch.nn.Sequential 9:56:45 69. Loss, optimizer and evaluation functions for classification 10:11:37 70. From model logits to prediction probabilities to prediction labels 10:27:45 71. Train and test loops 10:57:27 73. Discussing options to improve a model 11:27:24 76. Creating a straight line dataset 11:45:34 78. Evaluating our model's predictions 11:50:58 79. The missing piece: non-linearity 12:42:04 84. Putting it all together with a multiclass problem 13:23:41 88. Troubleshooting a mutli-class model 😎 Chapter 3: Computer Vision 14:00:20 92. Introduction to computer vision 14:12:08 93. Computer vision input and outputs 14:22:18 94. What is a convolutional neural network? 14:27:21 95. TorchVision 14:36:42 96. Getting a computer vision dataset 15:01:06 98. Mini-batches 15:08:24 99. Creating DataLoaders 15:51:33 103. Training and testing loops for batched data 16:25:59 105. Running experiments on the GPU 16:29:46 106. Creating a model with non-linear functions 16:41:55 108. Creating a train/test loop 17:13:04 112. Convolutional neural networks (overview) 17:21:29 113. Coding a CNN 17:41:18 114. Breaking down nn.Conv2d/nn.MaxPool2d 18:28:34 118. Training our first CNN 18:43:54 120. Making predictions on random test samples 18:55:33 121. Plotting our best model predictions 19:19:06 123. Evaluating model predictions with a confusion matrix 🗃 Chapter 4: Custom Datasets 19:43:37 126. Introduction to custom datasets 19:59:26 128. Downloading a custom dataset of pizza, steak and sushi images 20:13:31 129. Becoming one with the data 20:38:43 132. Turning images into tensors 21:15:48 136. Creating image DataLoaders 21:24:52 137. Creating a custom dataset class (overview) 21:42:01 139. Writing a custom dataset class from scratch 22:21:22 142. Turning custom datasets into DataLoaders 22:28:22 143. Data augmentation 22:42:46 144. Building a baseline model 23:10:39 147. Getting a summary of our model with torchinfo 23:17:18 148. Creating training and testing loop functions 23:50:31 151. Plotting model 0 loss curves 23:59:34 152. Overfitting and underfitting 24:32:03 155. Plotting model 1 loss curves 24:35:25 156. Plotting all the loss curves 24:46:22 157. Predicting on custom data #pytorch #machinelearning #deeplearning

You May Also Like

Master PyTorch Today

AI-recommended products based on this video

Loading...
Handheld Steam Cleaner for Home - Pressurized Handheld Steamer for Cleaning with High Pressure, Chemical-Free Multi-Purpose Portable Deep Steam Cleaner for Cleaning Windows, Couch(White)

Handheld Steam Cleaner for Home - Pressurized Handheld Steamer for Cleaning with High Pressure, Chemical-Free Multi-Purpose Portable Deep Steam Cleaner for Cleaning Windows, Couch(White)

(105)
$39.99
FREE delivery Tue, Nov 25
700+ bought in past month
Loading...
Portable Carpet & Upholstery Spot Cleaner,15Kpa Powerful Suction and Spot Remover, Deep Stain Cleaning for Carpet, Pets, Stairs, Car Seat, Couch, with Dual Size BrushHead and Cleaning Solutions

Portable Carpet & Upholstery Spot Cleaner,15Kpa Powerful Suction and Spot Remover, Deep Stain Cleaning for Carpet, Pets, Stairs, Car Seat, Couch, with Dual Size BrushHead and Cleaning Solutions

(96)
$139.99
Prime
500+ bought in past month
Loading...
Ailltopd Portable Carpet & Upholstery Spot Cleaner, Powerful Suction and Spot Remover, Deep Stain Cleaning for Carpet, Pets, Stairs, Car Seat, Couch, with Dual Size BrushHead and Cleaning Solutions

Ailltopd Portable Carpet & Upholstery Spot Cleaner, Powerful Suction and Spot Remover, Deep Stain Cleaning for Carpet, Pets, Stairs, Car Seat, Couch, with Dual Size BrushHead and Cleaning Solutions

(21)
$559.96
PrimeFREE delivery Sat, Jun 14
Loading...
Seasonic Focus V4 GX-1000 (ATX3) - 1000W - 80+ Gold - ATX 3.0 & PCIe 5.1 Ready -Full-Modular -ATX Form Factor -Premium Japanese Capacitor -10 Year Warranty -Nvidia RTX 30/40 Super & AMD GPU Compatible

Seasonic Focus V4 GX-1000 (ATX3) - 1000W - 80+ Gold - ATX 3.0 & PCIe 5.1 Ready -Full-Modular -ATX Form Factor -Premium Japanese Capacitor -10 Year Warranty -Nvidia RTX 30/40 Super & AMD GPU Compatible

(22)
$423.35
FREE delivery Oct 8 - 10
Loading...
PNY NVIDIA Quadro RTX 4000 - The World’S First Ray Tracing GPU

PNY NVIDIA Quadro RTX 4000 - The World’S First Ray Tracing GPU

(203)
$670.57$399.99
FREE delivery Feb 23 - 27
Loading...
HP Victus 15.6" 144Hz FHD Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 3050, Backlit Keyboard, HD Webcam, Win 11, Blue, 256GB Docking Station Set

HP Victus 15.6" 144Hz FHD Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 3050, Backlit Keyboard, HD Webcam, Win 11, Blue, 256GB Docking Station Set

(117)
$1,149.00
FREE delivery Jun 26 - Jul 8
Loading...
MSI Thin15 15.6” FHD 144Hz Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 2050, Backlit Keyboard, WiFi 6, Win 11 Home, Black, 256GB Docking Station Set

MSI Thin15 15.6” FHD 144Hz Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 2050, Backlit Keyboard, WiFi 6, Win 11 Home, Black, 256GB Docking Station Set

(1,002)
$1,339.00
FREE delivery Jun 26 - Jul 8
Loading...
HP 15.6" FHD Anti-Glare Laptop, Intel i3-N305, 32GB RAM, 1.16TB Storage(1TB SSD+160GB Docking Station Set), Intel UHD Graphics, Fingerprint Reader, Num Pad, HD Camera, Wi-Fi 6, Win 11, Silver

HP 15.6" FHD Anti-Glare Laptop, Intel i3-N305, 32GB RAM, 1.16TB Storage(1TB SSD+160GB Docking Station Set), Intel UHD Graphics, Fingerprint Reader, Num Pad, HD Camera, Wi-Fi 6, Win 11, Silver

(213)
$879.00
FREE delivery Jun 26 - Jul 8
Loading...
ASUS ExpertBook P5; Copilot+ PC, 14” Business Laptop, Intel® Core™ Ultra 7 Processor 258V, 32GB RAM, 1 TB SSD, WiFi 6E, Windows 11 Home, Misty Grey, P5405CSA-DH71-CA

ASUS ExpertBook P5; Copilot+ PC, 14” Business Laptop, Intel® Core™ Ultra 7 Processor 258V, 32GB RAM, 1 TB SSD, WiFi 6E, Windows 11 Home, Misty Grey, P5405CSA-DH71-CA

(2)
$1,599.99
FREE delivery Wed, Jun 18
Loading...
Barrow Copper GPU Water Cooling Block GPU Waterblock for Asus TUF RTX 5090 D O32G Gaming, for Asus TUF RTX 5090 O32G Gaming

Barrow Copper GPU Water Cooling Block GPU Waterblock for Asus TUF RTX 5090 D O32G Gaming, for Asus TUF RTX 5090 O32G Gaming

(0)
$637.38
FREE delivery Feb 20 - 26Only 4 left in stock.
Loading...
Graphics Card Fan 95MM PLD10010S12H DC12V RTX 3060 RTX 3060 Ti Eagle for RTX 3060 RTX 3060 Ti Eagle GPU Fan Computer Cooling Components(BA)

Graphics Card Fan 95MM PLD10010S12H DC12V RTX 3060 RTX 3060 Ti Eagle for RTX 3060 RTX 3060 Ti Eagle GPU Fan Computer Cooling Components(BA)

(0)
$61.64
Loading...
Laptop Parts 3Pcs/Set GA82S2H DIY GPU Fan Graphics Card Cooling for ZOTAC RTX 3060 12GD for GE PRO 2060 6G 3060Ti 8G GTX 1660 Super

Laptop Parts 3Pcs/Set GA82S2H DIY GPU Fan Graphics Card Cooling for ZOTAC RTX 3060 12GD for GE PRO 2060 6G 3060Ti 8G GTX 1660 Super

(0)
$56.61
FREE delivery Mar 19 - Apr 10
Loading...
Replacement Parts RTX 2060 Stormx GPU Fan,for Palit 2060、GTX 1660 Cooling Fan(TH1012S2H-PAA01)

Replacement Parts RTX 2060 Stormx GPU Fan,for Palit 2060、GTX 1660 Cooling Fan(TH1012S2H-PAA01)

(0)
$62.81
FREE delivery Mar 19 - Apr 10
Loading...
Tablet Latest Android Tablets with 10 Inch Incell Display, 24GB+256GB ROM /2TB TF, Gemini AI, T606 Octa-Core 8MP Camera Tablette Android, Widevine L1, 2 in 1 Tablets with Keyboard Mouse Stylus

Tablet Latest Android Tablets with 10 Inch Incell Display, 24GB+256GB ROM /2TB TF, Gemini AI, T606 Octa-Core 8MP Camera Tablette Android, Widevine L1, 2 in 1 Tablets with Keyboard Mouse Stylus

(241)
$149.99
FREE delivery Wed, Aug 27
100+ bought in past month
Loading...
Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

(78)
$99.99
FREE delivery Thu, Apr 9
100+ bought in past month
Loading...
Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device,Écouteurs traducteurs Anglais-français, Clear Voice Translation with Charging Case for Travel & Learning Global Recycled Standard

Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device,Écouteurs traducteurs Anglais-français, Clear Voice Translation with Charging Case for Travel & Learning Global Recycled Standard

(77)
$49.97
FREE delivery Fri, Feb 27