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: 'optimizer_state_dict' arise with Pretrined model #61

Open
SHAIIM04 opened this issue Oct 5, 2023 · 0 comments
Open

KeyError: 'optimizer_state_dict' arise with Pretrined model #61

SHAIIM04 opened this issue Oct 5, 2023 · 0 comments

Comments

@SHAIIM04
Copy link

SHAIIM04 commented Oct 5, 2023

I applied experimental on my own data using the pre-train model "resnet18_mstcn_video" only I modified the run as you mentioned in "You can pass the checkpoint path (.pth or .pth.tar) to the variable argument --model-path, and specify the --init-epoch to 1 to resume training." also i modified "allow_size_mismatch = True" . Then when running the code we got error .

Screenshot 2023-10-05 at 3 06 50 AM

so what is the problem and can fix this problem ?

Thanks
best regrds

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