Skip to content

EarlyStopping: New loss has to be less than best value

Created by: VolodyaCO

This is just a quick fix of the EarlyStopping callback.

Before, the energy could get stuck in a local minimum and never change. The EarlyStopping wouldn't stop optimisation, even if the loss didn't improve for its given patience.

Merge request reports