I am struggling to get tfms to work. I create a dataset and dataloader and databunch which all works fine without tfms but as soon as I add tfms then I get:
db = ImageDataBunch(dltrain, dlvalid, tfms=get_transforms()).normalize(imagenet_stats)
‘list’ object is not callable
I tried changing it to get_transforms()[0] thinking maybe it needs just one set of transforms. But then I get
‘list’ object has no attribute ‘pixel’
Do arrays have to be converted into image objects? Are there any simple examples for the basic case of training from a numpy array. The docs only seem to cover more complex cases.