A `DataLoader` with a custom `collate_fn` that batches items as required for training the model.

efficientdet_valid_dl(dataset, batch_tfms = NULL, ...)

Arguments

dataset

Possibly a `Dataset` object, but more generally, any `Sequence` that returns records.

batch_tfms

Transforms to be applied at the batch level.

...

dataloader_kwargs: Keyword arguments that will be internally passed to a Pytorch `DataLoader`. The parameter `collate_fn` is already defined internally and cannot be passed here.

Value

None