Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load CDD_model_best.pth fail #39

Open
fpan98 opened this issue Aug 14, 2021 · 3 comments
Open

load CDD_model_best.pth fail #39

fpan98 opened this issue Aug 14, 2021 · 3 comments

Comments

@fpan98
Copy link

fpan98 commented Aug 14, 2021

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
Copy link

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

@walking-shadow
Copy link

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

@yy2yy
Copy link

yy2yy commented May 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants