Skip to content

Commit

Permalink
Fix output of pytorch NN
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g committed Jan 21, 2022
1 parent 9fd6ba9 commit 9ab4f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/contrib/model/pytorch_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def fit(
R.log_metrics(val_loss=loss_val.val, step=step)
if verbose:
self.logger.info(
"[Epoch {}]: train_loss {:.6f}, valid_loss {:.6f}".format(step, train_loss, loss_val.val)
"[Step {}]: train_loss {:.6f}, valid_loss {:.6f}".format(step, train_loss, loss_val.val)
)
evals_result["train"].append(train_loss)
evals_result["valid"].append(loss_val.val)
Expand Down

0 comments on commit 9ab4f33

Please sign in to comment.