Not working data = ImageDataBunch.from_folder(path, ds_tfms=tfms, size=224)

Thank you for making this! I tried for hours to find a solution - this worked!