Chapter 7 of the book explains the concept of TTA, and provides the following code:
preds, targs = learn.tta() accuracy(preds, targs).item()
While I understand the intuition behind TTA, it’s not explained how to use TTA to train a better model.
How do I use TTA with
The documentation (https://docs.fast.ai/learner.html#Learner.tta) doesn’t provide an example. An example would really help.