Skip to content

Commit

Permalink
fix the header of "lr" (deepmodeling#2462)
Browse files Browse the repository at this point in the history
xref: deepmodeling#2348

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz authored and hztttt committed Apr 21, 2023
1 parent dc8a45d commit 02b59a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ def print_header(fp, train_results, valid_results, multi_task_mode=False):
prop_fmt = " %11s"
for k in train_results.keys():
print_str += prop_fmt % (k + "_trn")
print_str += " %8s\n" % (k + "_lr")
print_str += " %8s\n" % "lr"
else:
for fitting_key in train_results:
if valid_results[fitting_key] is not None:
Expand Down

0 comments on commit 02b59a9

Please sign in to comment.