Closed YuanbinLiu closed 1 month ago
What do you mean by "as well"? There is no reason to train virials and stresses simultaneously as they are fully redundant.
Sorry for the unclear description. I want to train on energy, forces, and virials (not stresses). I need to know which unit I have to use for fitting virials so that I can adjust them to the suitable format. Could it be GPa or eV? @Linux-cpp-lisp
Aha, I see: we do not do any unit conversions for either virials or stress, since nequip
has no formal sense of units and just inherits the units of the dataset. So presumably eV in this case.
See for some more details comments throughout: https://github.com/mir-group/nequip/blob/develop/nequip/nn/_grad_output.py#L346-L351
I'd like to train virials as well. Could you point out what unit is used for the virial fitting?