You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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".
The text was updated successfully, but these errors were encountered:
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".
The text was updated successfully, but these errors were encountered: