Create from imagenet style dataset in `path` with `train` and `valid` subfolders (or provide `valid_pct`)
ImageDataLoaders_from_folder(
path,
train = "train",
valid = "valid",
valid_pct = NULL,
seed = NULL,
vocab = NULL,
item_tfms = NULL,
batch_tfms = NULL,
bs = 64,
val_bs = NULL,
shuffle_train = TRUE,
device = NULL,
size = NULL,
...
)
The folder where to work
train data
validation data
validion percentage
random seed
vocabulary
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
image size
additional parameters to pass