If anyone has a code snippet on how to predict on a full directory of images please post it here.
I have a learner that is trained and I want to predict an a large set of images.
I’m looking for code snippets to do this.
I’ll work on it in the meantime as well starting from the posts on predicting on a single image.
At the same time i’m wondering why we need to apply transforms at all to images we want to predict on? I could understand if we are doing TTA but why just blindly apply transforms?