Open fdy61 opened 1 year ago
I use the vgg16convs.mat the link provided to train 10 rounds.And I use the epoch10.pth to test,it will report an error ,saying missing keys,But I had checked that no keys had been missed.
checkpoint = torch.load('/path/to/your/checkpoint') model.load_state_dict(checkpoint['state_dict'])
It worked.Thank you so much.
I use the vgg16convs.mat the link provided to train 10 rounds.And I use the epoch10.pth to test,it will report an error ,saying missing keys,But I had checked that no keys had been missed.