Question: As a first step, we will need to implement a data loader for the SuperTuxKart dataset. Complete the _ _ init _ _ , _
As a first step, we will need to implement a data loader for the SuperTuxKart dataset. Complete the initlen and the getitem of the SuperTuxDataset class in the utils.py
The len function should return the size of the dataset.
The getitem function should return a tuple of image, label. The image should be a torch.Tensor of size with range and the label should be int.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
