Skip to content

Shift in energy test set and pressure #2181

@cesaremalosso

Description

@cesaremalosso

Summary

Shift in energy test set and pressure when I run it on a dataset with different number of atoms with respect to the training one.

DeePMD-kit Version

v2.1.1.dev80+g8c58455

TensorFlow Version

2.3.0

Python Version, CUDA Version, GCC Version, LAMMPS Version, etc

No response

Details

Hi, I trained a NN over a data set made of snapshots a 432 atoms system. When I test this NN over a different dataset made of 576 atoms ( of course not included in the train one) I find good predictions for forces, so the dynamics of the system should be fine, but I find a rigid shift upon the total energy and also on the diagonal elements of the viral.

energy
IMAGE 2022-12-14 18:28:48

yy diagonal element of the virial
Screenshot 2022-12-14 at 18 29 49

On the training set these shifts are not present. I thought that specifying the atomic energies of each species would have solve the problem, but It did not. Is there any kind of solution to this problem?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions