text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png
path = '/kaggle/input/cell-images-for-detecting-malaria/cell_images/'

fields = DataBlock(blocks=(ImageBlock, CategoryBlock), get_items=get_image_files, get_y=parent_label, splitter=RandomSplitter(valid_pct=0.2, seed=42), item_tfms=RandomResizedCrop(114, min_scale=0.5), batch_tfms=aug_transforms())

dls = fields.dataloaders(path)

dls.vocab