Edit on GitHub
Live.make_summary()
Serializes a summary of the logged metrics (Live.summary) to
Live.metrics_file.
def make_summary()Usage
from dvclive import Live
live = Live()
live.summary["foo"] = 1.0
live.make_summary()Description
The Live.summary object will contain the latest value of each metric logged
with Live.log_metric(). It can be also modified manually, as in the snippet
above.
Live.next_step() and Live.end() will call Live.make_summary() internally,
so you don't need to call both.
The summary is usable by dvc metrics:
$ dvc metrics diff dvclive/metrics.json