lehaifeng / DASNet

134 stars 41 forks source link

load CDD_model_best.pth fail #39

Open fpan98 opened 3 years ago

fpan98 commented 3 years ago

image

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

KRITI1997 commented 2 years ago

Hello ! I am also facing the same error.Did you resolve it?

walking-shadow commented 2 years ago

I have also met this problem, did you resolve it?

yy2yy commented 2 years ago

Hello ! I am also facing the same error.Did you resolve it?