Initializes a DVCLive logger.
class Live: def __init__( self, path: Optional[str] = None, resume: bool = False, summary: bool = True, ):
from dvclive import Live live = Live()
Its parameters are focused on configuring the behavior of subsequent calls to
path already exists,
Live() will remove all existing DVCLive related
dir- Location of the metrics logs directory.
summary_path- Location of the metrics summary.
html_path- Location of the html report.
path - Configure where to save metrics logs and metrics summary
None and DVC is enabled (see
DVCLive with DVC), the
path set by DVC
will be used. If
None and DVC is not enabled,
"dvclive" will be used.
resume - If
True, DVCLive will try to read the previous
step from the
path directory and start from that point. Default:
dvclive.error.ConfigMismatchError- thrown if the provided
pathdoes not match with the one set in DVC (see DVCLive with DVC)