Skip to content

Glossary: Computer Vision Beyond the Basics

Dataset and DataLoader

Also written: Dataset, DataLoader

PyTorch classes for feeding data to a model. A `Dataset` returns one sample, and a `DataLoader` batches and shuffles samples, here with a custom collate function for detection.

Where the book teaches it

Related terms

Collate functionTarget