here is the code snippet that I used to calculate the error and accuracy of the data. Not sure if the accuracy logic is correct or not.

I read that model.eval() helps to change the functionality of dropout and batch normalization but not sure what it really means.
Can I calculate error and accuracy of renet18 model without using model.eval()?


image809×653 65.7 KB