I have trained a model using resnet18 from scratch. I save a model with a minimum loss to a .pth file. The training accuracy came around 90 % and testing accuracy around 15%.
On loading the file and calling evaluation(testloader, resent) or evaluation(trainloader, resnet) the percentage keeps varying each time I load the model example on calling evaluation(trainloader, resnet) i would get values like 98% 97% etc. So why does this happen?