When I use model.eval() with torch.no_grad() during my evaluation, I get 36% accuracy. But, if I do not use model.eval() and only use torch.no_grad() then my accuracy is 87%. Why is this hapenning?
with_model_eval

with_model_eval1883×530 53.4 KB

without_model_eval

without_model_eval1883×530 47.2 KB