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

extract_encoder.py run fail #5

Open
Cyc-striving opened this issue Sep 30, 2024 · 0 comments
Open

extract_encoder.py run fail #5

Cyc-striving opened this issue Sep 30, 2024 · 0 comments

Comments

@Cyc-striving
Copy link

Traceback (most recent call last):
File "/root/autodl-tmp/SelfDocSeg/pretraining/extract_encoder.py", line 633, in
resnet_seq.load_state_dict(wts) # loading weights to the new encoder
File "/root/miniconda3/envs/selfdocseg/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1604, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Sequential:

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