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

Q #11

Open
pljj315 opened this issue May 7, 2024 · 0 comments
Open

Q #11

pljj315 opened this issue May 7, 2024 · 0 comments

Comments

@pljj315
Copy link

pljj315 commented May 7, 2024

File "/mnt/nfs/file_server/public/lijiahui/code/study_consistent/CustomNet/main/app.py", line 194, in main
model.load_state_dict(ckpt)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 2153, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for CustomNet:
Unexpected key(s) in state_dict: "text_encoder.transformer.text_model.embeddings.position_ids".

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