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

assert net_type == checkpoint_dict['net'], 'Network is not of correct type.' #120

Open
Ko24Bewjw opened this issue Oct 12, 2024 · 1 comment

Comments

@Ko24Bewjw
Copy link

Ko24Bewjw commented Oct 12, 2024

File "/home/wzhpc/wjw/github_file/OSTrack/lib/train/../../lib/train/trainers/base_trainer.py", line 197, in load_checkpoint
assert net_type == checkpoint_dict['net'], 'Network is not of correct type.' 加载模型权重的时候报错了,请问是我哪里没有正确设置吗

@Wei-Peng-fei
Copy link

请问你解决了这个问题吗?我也遇见了这个问题

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

2 participants