I used the same settings as "config_finetuning.yaml" with one minor change shown below:
data:
target: nequip.data.datamodule.ASEDataModule
seed: 456 # dataset seed for reproducibility
#ase_args: {'total_energy': REF_energy, 'forces': REF_forces}
key_mapping:
total_energy: REF_energy
forces: REF_forces
in my "xyz" file, energy and forces use the keys: REF_energy and REF_forces, respectively
I got the following error:
normed = torch.einsum("n..., n -> n...", data[self.field], num_atoms)
~~~~^^^^^^^^^^^^
KeyError: 'total_energy'
can you please suggest how to solve this error?
I used the same settings as "config_finetuning.yaml" with one minor change shown below:
data:
target: nequip.data.datamodule.ASEDataModule
seed: 456 # dataset seed for reproducibility
#ase_args: {'total_energy': REF_energy, 'forces': REF_forces}
key_mapping:
total_energy: REF_energy
forces: REF_forces
in my "xyz" file, energy and forces use the keys: REF_energy and REF_forces, respectively
I got the following error:
normed = torch.einsum("n..., n -> n...", data[self.field], num_atoms)
~~~~^^^^^^^^^^^^
KeyError: 'total_energy'
can you please suggest how to solve this error?