I’m trying to use learn.tta(dl=test_dl) and getting this error: ‘NoneType’ object is not callable. This happens in this piece of fast.ai code:
aug_preds.append(self.get_preds(dl=dl, inner=True)[0][None])
But using just learn.get_preds(dl=test_dl) works well. Any ideas why this could happen?
In general you should post a full stack trace along with your issue report. Just before the tta can you do: print(len(test_dl)) and tell us what this returns.
I was able to run this code properly on local Paperspace machine, so the problem is somehow connected to Kaggle itself or it’s environment. Getting mad with this bug…