From 446eee0022269324b45b513d19e17dbb333ba29e Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Thu, 3 Jun 2021 12:02:14 +0200 Subject: [PATCH] docstring updates --- mmcv/runner/hooks/logger/dvclive.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mmcv/runner/hooks/logger/dvclive.py b/mmcv/runner/hooks/logger/dvclive.py index b1665bd10f..336a652adc 100644 --- a/mmcv/runner/hooks/logger/dvclive.py +++ b/mmcv/runner/hooks/logger/dvclive.py @@ -11,12 +11,16 @@ class DvcliveLoggerHook(LoggerHook): It requires `dvclive`_ to be installed. Args: - path (str): directory where dvclive will write TSV log files. + path (str): Directory where dvclive will write TSV log files. interval (int): Logging interval (every k iterations). + Default 10. ignore_last (bool): Ignore the log of last iterations in each epoch if less than `interval`. - reset_flag (bool): Whether to clear the output buffer after logging + Default: True. + reset_flag (bool): Whether to clear the output buffer after logging. + Default: True. by_epoch (bool): Whether EpochBasedRunner is used. + Default: True. .. _dvclive: https://dvc.org/doc/dvclive