ImageDataLoaders_from_lists {fastai}R Documentation

ImageDataLoaders from lists

Description

Create from list of 'fnames' and 'labels' in 'path'

Usage

ImageDataLoaders_from_lists(
  path,
  fnames,
  labels,
  valid_pct = 0.2,
  seed = NULL,
  y_block = NULL,
  item_tfms = NULL,
  batch_tfms = NULL,
  bs = 64,
  val_bs = NULL,
  shuffle_train = TRUE,
  device = NULL,
  ...
)

Arguments

path

The folder where to work

fnames

file names

labels

labels

valid_pct

validation percentage

seed

random seed

y_block

y_block

item_tfms

One or several transforms applied to the items before batching them

batch_tfms

One or several transforms applied to the batches once they are formed

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


[Package fastai version 2.2.2 Index]