Sorry, I should reply it at here: Did any one know how to load the pth pre-trained model from fastai to pytorch? 10
On that post, Jemery said the reason why learn.model(input_image) does not work is because the opt(optimizer) problem, even though I set requires_grad to false and learn.model.eval(). I was thinking we don’t use the optimizer for training, and I was just want to do prediction. Why do I need the optimizer?
Does skipping #2 works better normally?