Create from list of `fnames` in `path`s with `label_func`
ImageDataLoaders_from_path_func(
path,
fnames,
label_func,
valid_pct = 0.2,
seed = NULL,
item_tfms = NULL,
batch_tfms = NULL,
bs = 64,
val_bs = NULL,
shuffle_train = TRUE,
device = NULL,
...
)
The folder where to work
file names
label function
The random percentage of the dataset to set aside for validation (with an optional seed)
random seed
One or several transforms applied to the items before batching them
One or several transforms applied to the batches once they are formed
batch size
The batch size for the validation DataLoader (defaults to bs)
If we shuffle the training DataLoader or not
device name
additional parameters to pass
None