Skip to content

Commit

Permalink
Fix bug in logging the validation loss
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Jan 25, 2024
1 parent 148715b commit 6c3eb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metatensor/models/soap_bpnn/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def train(
if epoch % hypers_training["log_interval"] == 0:
logging_string = (
f"Epoch {epoch:4}, train loss: {train_loss:10.4f}, "
" validation loss: {validation_loss:10.4f}"
f" validation loss: {validation_loss:10.4f}"
)
for key, value in aggregated_train_info.items():
if key.endswith("_positions_gradients"):
Expand Down

0 comments on commit 6c3eb1c

Please sign in to comment.