efficientdet_train_dl: Efficientdet train dataloader

View source: R/icevision_dataloaders.R

efficientdet_train_dlR Documentation

Efficientdet train dataloader

Description

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

Usage

efficientdet_train_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


fastai documentation built on June 22, 2024, 11:15 a.m.