-
Notifications
You must be signed in to change notification settings - Fork 40
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: 'model' #19
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when I tried to train
File "/home/pe/projects/czy/StreamYOLO-main/exps/train_utils/double_trainer.py", line 314, in resume_train
ckpt = torch.load(ckpt_file, map_location=self.device)["model"]
│ │ │ │ └ 'cuda:0'
│ │ │ └ <exps.train_utils.double_trainer.Trainer object at 0x7fe2e69a3650>
│ │ └ '/home/pe/projects/czy/StreamYOLO-main/tools/yolox_s.pth'
│ └ <function load at 0x7fe2e8dc8710>
└ <module 'torch' from '/home/pe/anaconda3/envs/streamyolo/lib/python3.7/site-packages/torch/init.py'>
KeyError: 'model'
Could you tell me how to solve this?
The text was updated successfully, but these errors were encountered: