In the demo notebook from cifar10-fast, I ran everything up to “network visualization”, then I ran (copied from the training cell):
epochs=24
lr_schedule = PiecewiseLinear([0, 5, epochs], [0, 0.4, 0])
batch_size = 512
transforms = [Crop(32, 32), FlipLR(), Cutout(8, 8)]
N_runs = 5
train_batches = Batches(Transform(train_set, transforms), batch_size, shuffle=True, >set_random_choices=True, drop_last=True)
test_batches = Batches(test_set, batch_size, shuffle=False, drop_last=False)
And then just added the following cell:
%%timeit
next(iter(train_batches))
For fastai I just ran the first few cells of your notebook to recreate the databunch, and ran this (used bs=512):
%%timeit
next(iter(data.train_dl))