ImageDataLoaders_from_dblock: ImageDataLoaders from dblock

Description Usage Arguments Value

View source: R/image_loaders.R

Description

Create a dataloaders from a given 'dblock'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ImageDataLoaders_from_dblock(
  dblock,
  source,
  path = ".",
  bs = 64,
  val_bs = NULL,
  shuffle_train = TRUE,
  device = NULL,
  ...
)

Arguments

dblock

dblock

source

source folder

path

The folder where to work

bs

batch size

val_bs

The batch size for the validation DataLoader (defaults to bs)

shuffle_train

If we shuffle the training DataLoader or not

device

device name

...

additional parameters to pass

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.