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: 'epoch' by hrnetv2_w18_imagenet_pretrained.pth #553

Open
SmallGGgg opened this issue Mar 11, 2024 · 0 comments
Open

KeyError: 'epoch' by hrnetv2_w18_imagenet_pretrained.pth #553

SmallGGgg opened this issue Mar 11, 2024 · 0 comments

Comments

@SmallGGgg
Copy link

When I run hrnet18, the following error occurs, how to solve it?
Creating model... => loading pretrained model ../models/hrnetv2_w18_imagenet_pretrained.pth Starting training... Traceback (most recent call last): File "train.py", line 97, in <module> main(opt) File "train.py", line 64, in main model, optimizer, start_epoch = load_model( File "/media/cvlab/F/NGF/FairMOT-master/src/lib/models/model.py", line 40, in load_model print('loaded {}, epoch {}'.format(model_path, checkpoint['epoch'])) KeyError: 'epoch'

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