Skip to content

Better handling of failing single-point energy calculations #36

@andrrizzi

Description

@andrrizzi

The policy adopted throughout the potentials package is that if a single-point calculation fails it returns nan energy and zero forces. The latter effectively makes the training ignore this points and forces the training to proceed. We should make this a user-defined option instead.

This could be implemented by returning nan forces as well and using the (already existing) ignore_nan option in BoltzmannKLDivLoss so that the user may control the behavior (crash due to nan or ignore) through the loss options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions