exp init: suppress plots if live is selected as a stage type

This commit is contained in:
Saugat Pachhai (सौगात)
2021-11-12 11:25:39 +05:45
committed by Saugat Pachhai
parent 8262dbd37c
commit 7b488887b4
+2 -2
View File
@@ -303,11 +303,11 @@ def init(
)
else:
if with_live:
# suppress `metrics`/`params` if live is selected, unless
# suppress `metrics`/`plots` if live is selected, unless
# it is also provided via overrides/cli.
# This makes output to be a checkpoint as well.
defaults.pop("metrics", None)
defaults.pop("params", None)
defaults.pop("plots", None)
else:
defaults.pop("live", None) # suppress live otherwise