ImageDataLoaders_from_dblock: ImageDataLoaders from dblock

View source: R/image_loaders.R

ImageDataLoaders_from_dblockR Documentation

ImageDataLoaders from dblock

Description

Create a dataloaders from a given 'dblock'

Usage

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 June 22, 2024, 11:15 a.m.