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

Finetuned weights don't work #250

Open
Louma20 opened this issue Feb 6, 2025 · 0 comments
Open

Finetuned weights don't work #250

Louma20 opened this issue Feb 6, 2025 · 0 comments

Comments

@Louma20
Copy link

Louma20 commented Feb 6, 2025

I finetuned metric depth on my own dataset, when I saved the checkpoint and run metric_depth/run.py, I got:

model.load_state_dict(torch.load("/content/latest.pth", map_location='cpu'))
model = model.to(DEVICE).eval()
Unexpected key(s) in state_dict: "model", "optimizer", "epoch", "previous_best". 

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

1 participant