Question 1/5 fast.ai v4 lecture 6

What is a Dataset in fastai?

Answer

A dataset is something that can be indexed into and that implements the len method (that can have len(...)) called on itself. Once we have a Dataset, we can pass it to a Dataloader.

Relevant part of lecture

supplementary material

PyTorch docs for Dataset