eval progress bar with more metrics (#499)

updated eval
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-20 20:07:35 -07:00
1 parent 7fc970f1c7
commit 1d14263127
10 files changed
+102 -153

No files matched your search

+2 -1
View File
@@ -376,7 +376,8 @@ class LocalWriter:
Args:
step: current train step
"""
if step > 0:
valid_step = step > 0 and step % GLOBAL_BUFFER["steps_per_log"] == 0
if valid_step:
if not self.has_printed and self.config.max_log_size:
logging.info(
"\x1b[33;20mPrinting max of %d lines. Set flag `--logging.local-writer.max-log-size=0` "