After I have trained a model, I want to use the model to get predictions on a (large) number of unlabeled images. How would I go about doing this? I can do it with learn.get_preds() but this expects a dataloader. How do I create a test dataloader with no “y” and no loss?
No, that gives me a prediction for a single image. I want to get predictions for a large amount of images at the same time (so a for loop is out of the question).
I know I can do a pytorch dataloader on my own, but I want to use fastai’s transforms.