faster_rcnn_train_dl: Faster RSNN train dataloader

Description Usage Arguments Value

View source: R/icevision_dataloaders.R

Description

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

Usage

1
faster_rcnn_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 July 28, 2021, 5:06 p.m.