Hello!
I'm new for neural network and pytorch!
When I run this code on my own dataset , I have confusion about test() in train.py
I use model.load_state_dict( torch.load('weights-100-0.018-0.065.pth')) to load parameters before train_utils.test(model, test_loader, criterion, epoch=1)
but i have error like this:
KeyError: 'unexpected key "startEpoch" in state_dict'
Hello! I'm new for neural network and pytorch! When I run this code on my own dataset , I have confusion about
test()
intrain.py
model.load_state_dict( torch.load('weights-100-0.018-0.065.pth'))
to load parameters beforetrain_utils.test(model, test_loader, criterion, epoch=1)
but i have error like this:
KeyError: 'unexpected key "startEpoch" in state_dict'
latest.th
?Thank you for your help!