Cleanup train cli logs (#1037)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-11-27 21:51:43 -08:00
1 parent f739786d3a
commit fff1fee686
2 files changed
+6 -8

No files matched your search

+3 -3
View File
@@ -198,10 +198,10 @@ class Trainer:
"""Helper to print out any warnings regarding the way the viewer/loggers are enabled"""
if self.config.is_viewer_enabled():
string = (
"[WARNING] Not running eval iterations since only viewer is enabled."
" Use `--vis wandb` or `--vis tensorboard` to run with eval instead."
"[NOTE] Not running eval iterations since only viewer is enabled."
" Use [yellow]--vis wandb[/yellow] or [yellow]--vis tensorboard[/yellow] to run with eval instead."
)
CONSOLE.print(f"[bold red]{string}")
CONSOLE.print(f"{string}")
@check_viewer_enabled
def _init_viewer_state(self) -> None: