preds = learn.TTA(ds_type=DatasetType.Test)
which gives me: AttributeError: 'NoneType' object has no attribute 'dataset'
log_preds_test= learn.get_preds(ds_type=DatasetType.Test)
which gives me: AttributeError: 'NoneType' object has no attribute 'dataset'
preds,y,losses = learn.get_preds(ds_type=DatasetType.Test, with_loss=True)
which gives me: AttributeError: 'NoneType' object has no attribute 'dataset'
Relevant info
log_preds.shape
torch.Size([193, 5])
data = ImageDataBunch.from_folder('./tmp',ds_tfms = tfms, test='test', size=sz,bs=bs)
I’m not sure what to do and I exhausted all answers related to the topic.