How to do batch prediction?

Hey so I have a test dataset and if do learn.predict() and solve it is very slow predicting 20000 images like that. How could I do this ? Should I create a dataloader for test data too or is there any other process. It would be helpful if you provide me with some code

first create a test dataloder for your dataset you’d like to predict and feed it to learn.get_preds().

see this post for the code:

Thank you very much.