Open fpan98 opened 3 years ago
model = models.SiameseNet(norm_flag='l2') checkpoint = torch.load(r'F:\DASNet-master\ckpt\CDD_model_best.pth', map_location='cpu') model.load_state_dict(checkpoint['state_dict'])
keys are not match when i run test.py with the pretrained file: CDD_model_best.pth
Hello ! I am also facing the same error.Did you resolve it?
I have also met this problem, did you resolve it?
model = models.SiameseNet(norm_flag='l2') checkpoint = torch.load(r'F:\DASNet-master\ckpt\CDD_model_best.pth', map_location='cpu') model.load_state_dict(checkpoint['state_dict'])
keys are not match when i run test.py with the pretrained file: CDD_model_best.pth