Тёмный

6 Dataset and DataLoader in PyTorch. 

Datum Learning
Подписаться 2,9 тыс.
Просмотров 8 тыс.
50% 1

In this video, we will be learning what the Dataset class and DataLoader are in PyTorch.
For the Dataset class, we will see the three functions that we have to define which are the init, len and the getitem function. We will be learning what are the roles of these three functions and also see the practical implementation of the concept in PyTorch in colab.
For the DataLoader function, we will study the different parameters and also see the a practical implementation in PyTorch in colab. We will learn what the batch_size parameter means and others like the shuffle parameter, num_workers and the pin_memory parameters.
Connect to me on Instagram for questions:
/ datumlearning
Connect on Facebook:
/ datum.learning.1
For a 1-1 video chat on your projects or some topic in computer science, take my Fiverr gig:
www.fiverr.com...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@NehalPatel26
@NehalPatel26 8 месяцев назад
Thank you, this is a really well explained video!
@rachadlakis1
@rachadlakis1 2 месяца назад
Wow, this is a great tutorial on PyTorch's Dataset class and DataLoader! I appreciate the detailed explanation of the functions and parameters. Your practical implementation in Colab will definitely help a lot of learners. Keep up the good work!
@lakeguy65616
@lakeguy65616 Год назад
I'm getting an error with the __getitem__ method. Train is a numpy array () and iloc if a method of a pandas DF.. dp = self.train.iloc[Row_indx].values AttributeError: 'numpy.ndarray' object has no attribute 'iloc' WHy does your code work and mine doesn't? How is your (train,target) objects of type pandas dataframe? As I understand it, your code works because train & target are pandas dataframes. When / how did your train / targets become dataframes while mine remains numpy ndarrays? (I'm learning much from your videos...)
@lakeguy65616
@lakeguy65616 Год назад
problem solved by recasting train =pd.Dataframe(train)& target =pd.Dataframe(target)
@kumarutkarsh1248
@kumarutkarsh1248 8 месяцев назад
very well explained
@vans4lyf2013
@vans4lyf2013 Год назад
Thanks that was really helpful
@krranaware8396
@krranaware8396 Год назад
Thanks nice explanation
Далее
7. Neural Network in PyTorch.
19:36
Просмотров 849
Collate function in PyTorch. Custom Collate
29:23
Просмотров 2,4 тыс.
"Когти льва" Анатолий МАЛЕЦ
53:01
Китайка и Максим Крипер😂😆
00:21
ОБЗОР НА ШТАНЫ от БЕЗДNA
00:59
Просмотров 115 тыс.
The Sad Reality of Being a Data Scientist
8:55
Просмотров 63 тыс.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 307 тыс.
"Когти льва" Анатолий МАЛЕЦ
53:01