SegmentationDataLoaders_from_label_func: SegmentationDataLoaders_from_label_func

View source: R/vision_data.R

SegmentationDataLoaders_from_label_funcR Documentation

SegmentationDataLoaders_from_label_func

Description

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

Usage

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