SegmentationDataLoaders_from_label_func: SegmentationDataLoaders_from_label_func

Description Usage Arguments Value

View source: R/vision_data.R

Description

Create from list of 'fnames' in 'path's with 'label_func'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
SegmentationDataLoaders_from_label_func(
  path,
  fnames,
  label_func,
  valid_pct = 0.2,
  seed = NULL,
  codes = NULL,
  item_tfms = NULL,
  batch_tfms = NULL,
  bs = 64,
  val_bs = NULL,
  shuffle_train = TRUE,
  device = NULL
)

Arguments

path

path

fnames

file names

label_func

label function

valid_pct

validation percentage

seed

seed

codes

codes

item_tfms

item transformations

batch_tfms

batch transformations

bs

batch size

val_bs

validation batch size

shuffle_train

shuffle train

device

device name

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.