Datasets
Simple
DataLoader
Can be used on datasets
batch_size
, which denotes the number of samples contained in each generated batch.shuffle
. If set toTrue
, we will get a new order of exploration at each pass (or just keep a linear exploration scheme otherwise). Shuffling the order in which examples are fed to the classifier is helpful so that batches between epochs do not look alike. Doing so will eventually make our model more robust.num_workers
, which denotes the number of processes that generate batches in parallel. A high enough number of workers assures that CPU computations are efficiently managed, i.e. that the bottleneck is indeed the neural network's forward and backward operations on the GPU (and not data generation).
Create Dataset
Usage
Last updated