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

KeyError:'meta' #9

Open
wzx0720 opened this issue Jan 29, 2024 · 0 comments
Open

KeyError:'meta' #9

wzx0720 opened this issue Jan 29, 2024 · 0 comments

Comments

@wzx0720
Copy link

wzx0720 commented Jan 29, 2024

作者您好!感谢您的工作!
我想在我自己的数据集上训练HR-SegRefiner,当我尝试使用您提供的训练好的segrefiner_hr_latest.pth作为预训练模型时,我使用命令python tools/train.py configs/segrefiner/segrefiner_hr.py --resume-from segrefiner_hr_latest.pth却出现了如下错误:
self._epoch = checkpoint['meta']['epoch']
KeyError:'meta'

但是这一权重模型在进行测试时并没有报错。请问我应该如何解决这一问题?感谢您的回复!

@wzx0720 wzx0720 changed the title KeyError:` 'meta' KeyError:'meta' Jan 29, 2024
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