This files holds functions to create a plant pathology dataset.
path, df = load_data(TEST_DATA_PATH, with_folds=True); df.head()
data = get_datablock(path, df, 128, 64)
dls = get_dls(path, df, bs=3)
dls.show_batch()
Setting val_fold
to something invalid (i.e. something not in 0 -> 4) puts all the data into the train set.
dls = get_dls_all_in_1(TEST_DATA_PATH, val_fold=-1, bs=3)
len(dls.train_ds), len(dls.valid_ds)