TTA for new images


(kalyan) #1

Is there a way to use TTA on new image for prediction?
Currently, I am using : pred_class,pred_idx,outputs = learn.predict(img)
for predicting class of an image. Is there a way to do TTA on the image at run-time.

Appreciate any help.