According to the link below, we don’t need to do model.zero_grad() as the model is in eval mode.
model.zero_grad()
model
eval