Hello,
Thanks for your help, it works now! So if I don’t put torch.no_grad(), what extra information will it be storing?
I have used model.eval() in a cell above when loading the model. What is the difference between with torch.no_grad() and model.eval()? What does model.eval() do?