Here is my usecase. I want to apply data augmentation on image dataset that are stored in my local filesystem. I have created dataloader directly by loading the images from file folder, where folder name is the class name using following statement.
dls = ImageDataLoaders.from_folder(path, valid_pct=0.2, bs=64, item_tfms=Resize(460), batch_tfms=aug_transforms(size=224, min_scale=0.75), num_workers=3, device=device)
It gives the error
TypeError Traceback (most recent call last)
in
----> 1 dls = ImageDataLoaders.from_folder(path, valid_pct=0.2, bs=64, item_tfms=Resize(460), batch_tfms=aug_transforms(size=224, min_scale=0.75), num_workers=3, device=device)
TypeError: ‘list’ object is not callable.