L-4 | Image Classification Using ResNet-18 and Pytorch

  Рет қаралды 4,920

Code With Aarohi

Code With Aarohi

5 ай бұрын

In this tutorial, you will embark on a journey through the world of image classification using the powerful ResNet18 model with PyTorch. We will guide you step-by-step on how to train the model on your dataset, capturing the nuances and features essential for accurate classification. Following training, you'll learn the critical skill of saving your model, enabling you to preserve and utilize your trained model in future tasks. But the learning doesn't stop there! You'll also master the art of loading the model back into your Python environment, a key step for deploying models or continuing training. Finally, you will apply the trained model to new data, testing its ability to classify images accurately. By the end of this tutorial, you'll be well-versed in handling the ResNet18 model for your image classification tasks using PyTorch.
Github: github.com/AarohiSingla/Image...
Dataset: github.com/AarohiSingla/Image...
For queries: You can comment in comment section or you can email me at aarohisingla1987@gmail.com
#computervision #deeplearning #pytorch #imageclassification #imageclassification

Пікірлер: 25
@ashimasingla103
@ashimasingla103 3 ай бұрын
Perfect content
@youtubeaccount8613
@youtubeaccount8613 Ай бұрын
this is so so so helpful! i have been stuck for weeks and this is amazing!
@CodeWithAarohi
@CodeWithAarohi Ай бұрын
Glad it helped!
@pifordtechnologiespvtltd5698
@pifordtechnologiespvtltd5698 3 ай бұрын
Nice video
@user-co6pu8zv3v
@user-co6pu8zv3v 4 ай бұрын
Thank you, Aarohi! :)
@CodeWithAarohi
@CodeWithAarohi 4 ай бұрын
Welcome :)
@soravsingla8782
@soravsingla8782 5 ай бұрын
What an amazing video
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
Glad it is useful!
@navidnazem4494
@navidnazem4494 Ай бұрын
Shouldn't we redefine FC to 2 classes?
@rafeeda3580
@rafeeda3580 5 ай бұрын
Well explained.❤❤❤ Any videos of medical image classification available
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
Not yet!
@bilkisuismail6096
@bilkisuismail6096 4 ай бұрын
Thank you ma, but how did you get mean and standard deviation?
@dobijr7900
@dobijr7900 2 ай бұрын
they are gotten from imagenet after working on millions of images
@therock8815
@therock8815 3 ай бұрын
plz provided the updated code of vgg-16/ resnet50 or any that resolved the version error thanks
@Sunil-ez1hx
@Sunil-ez1hx 5 ай бұрын
Awesome
@CodeWithAarohi
@CodeWithAarohi 4 ай бұрын
Thanks!
@AlAmin-xy5ff
@AlAmin-xy5ff 5 ай бұрын
Mam make a video on YOLOv8 model customization or change layer
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
I will try
@karthickkuduva9819
@karthickkuduva9819 19 күн бұрын
Aashiqui 2 - Aarohi ❌️ Code with Aarohi ❤
@user-qi4jw1lf9i
@user-qi4jw1lf9i 5 ай бұрын
it is giving error I am taking 11 classes for this for emoji prediction
@user-qi4jw1lf9i
@user-qi4jw1lf9i 5 ай бұрын
from PIL import Image from torchvision import transforms # Load and preprocess the unseen image image_path = '/content/test.png' # Replace with the path to your image image = Image.open(image_path) preprocess = transforms.Compose([ transforms.Resize(256), transforms.CenterCrop(224), transforms.ToTensor(), transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) ]) input_tensor = preprocess(image) input_batch = input_tensor.unsqueeze(0) # Add a batch dimension
@user-qi4jw1lf9i
@user-qi4jw1lf9i 5 ай бұрын
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 0
@abrarislam6509
@abrarislam6509 Ай бұрын
Are you married?
@CodeWithAarohi
@CodeWithAarohi Ай бұрын
Yes
Image Classification Using Vision Transformer | ViTs
34:13
Code With Aarohi
Рет қаралды 33 М.
L-5 | Significance of Optimizers | Deep Learning
11:00
Code With Aarohi
Рет қаралды 627
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 18 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 12 МЛН
Train Neural Network by loading your images |TensorFlow, CNN, Keras tutorial
18:29
When Maths Meet Coding
Рет қаралды 301 М.
ResNet Deep Neural Network Architecture Explained
30:23
Machine Learning Explained
Рет қаралды 1,7 М.
PyTorch Course (2022), Part 4: Image Classification (MNIST)
30:21
Mr. P Solver
Рет қаралды 21 М.
Object Detection Web Application with Flask and YOLOv9
13:16
Code With Aarohi
Рет қаралды 5 М.
Image Classification using CNN Keras | Full implementation
17:56
Coding Lane
Рет қаралды 159 М.
Build a Deep CNN Image Classifier with ANY Images
1:25:05
Nicholas Renotte
Рет қаралды 554 М.
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 719 М.
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 12 МЛН
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 128 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,8 МЛН