PyTorch for Beginners: CNN (Convolutional Neural Networks)
Hussain Arif
0:00 / 0:00
PyTorch for Beginners: CNN (Convolutional Neural Networks)
128 просмотров · 3 нед. назад
Hussain Arif
319 подписчиков
128 просмотров · 3 нед. назад
Code: https://colab.research.google.com/dri...
Hey guys, in this video, you guys are going to learn how build a basic Convolutional Neural Network(CNN) using PyTorch. We will be using the Intel Image Classification Dataset https://www.kaggle.com/datasets/punee....
To start off, I'll first briefly give a very simplified view of how a CNN works, and then we'll move to Google Colab to build the CNN.
Also to illustrate CNNs, I'll be using this resource: https://poloclub.github.io/cnn-explai...
Timestamps:
0:00 Intro
0:29 What are CNNs and how do they work?
5:50 Video agenda
6:11 Downloading dataset
7:37 Processing dataset
11:20 Info about dataset
13:33 Creating our CNN
18:50 Performing inference on untrained model
19:46 Fixing shape errors
21:55 Defining loss function, optimizer & scheduler
23:50 Creating accuracy function
24:36 Creating training loop
29:25 Performing inference
34:47 Confusion Matrix
36:13 Outro
Thanks for watching!