Skip to content

Commit

Permalink
add comment for nan
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Dec 11, 2023
1 parent f4e855e commit 18c2ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepmd/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ def print_header(fp, train_results, valid_results, multi_task_mode=False):
for k in train_results[fitting_key].keys():
print_str += prop_fmt % (k + "_trn")
print_str += " %8s\n" % (fitting_key + "_lr")
print_str += "# If there is no available reference data, rmse_*_{val,trn} will print nan\n"
fp.write(print_str)
fp.flush()

Expand Down

0 comments on commit 18c2ed1

Please sign in to comment.