Skip to content

[BUG] Unable to calculate relative force deviation. #1639

Open
@xiaohe-njust

Description

@xiaohe-njust

Bug summary

When using dpgen for structural exploration, if an external LAMMPS template is used, the relative force model deviation cannot be calculated, and the output model_devi.out file information is the absolute force deviation. When no external LAMMPS template is used, everything is normal.

DP-GEN Version

0.12.1

Platform, Python Version, Remote Platform, etc

No response

Input Files, Running Commands, Error Log, etc.

param.json

"use_relative": true, "epsilon": 1.0,
If an external LAMMPS template is used, regardless of whether the code for calculating relative force deviation is used, the output model_devi.out file information remains the same. Trying to change the value of the keyword epsilon still has no effect. When no external LAMMPS template is used, everything is normal.

Steps to Reproduce

input.zip

Further Information, Files, and Links

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions