Multi-modal Molecule Structure-text Model for Text-based Editing and Retrieval, Nat Mach Intell 2023 (https://www.nature.com/articles/s42256-023-00759-6)
RuntimeError: Error(s) in loading state_dict for GNN_graphpred:
size mismatch for molecule_node_model.atom_encoder.atom_embedding_list.1.weight: copying a param with shape torch.Size([4, 300]) from checkpoint, the shape in current model is torch.Size([5, 300]).
请问这个该怎么解决啊~
在使用指令python downstream_02_molecule_edit_step_01_MoleculeSTM_Space_Alignment.py \ --MoleculeSTM_molecule_type=Graph \ --MoleculeSTM_model_dir=../data/demo/demo_checkpoints_Graph 运行MoleculeSTM-Graph编辑任务的时候出现了如下报错。
RuntimeError: Error(s) in loading state_dict for GNN_graphpred: size mismatch for molecule_node_model.atom_encoder.atom_embedding_list.1.weight: copying a param with shape torch.Size([4, 300]) from checkpoint, the shape in current model is torch.Size([5, 300]). 请问这个该怎么解决啊~