Is there way to change the batch size when running get_preds()
on learner which has been loaded with load_learner
?
You can change the batchsize of your DataBunch
at any time with data.batch_size = ...
So I would load the learner and change the batch_size of its databunch, something like this?
learner = load_learner(path=<path> fname=<pkl filename>)
learner.data.batch_size = 100