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".
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".