Releases: iterative/dvclive
Releases · iterative/dvclive
2.12.0: `cache_images`
New Features
cache_images
arg
Set Live(cache_images=True)
to track the entire dvclive/images
folder using dvc
.
What's Changed
- Add Lightning notebook by @daavoo in #599
- add cache_images arg by @dberenbaum in #605
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #601
- Add test_log_artifact_type_model_when_dvc_add_fails by @daavoo in #606
Full Changelog: 2.11.3...2.12.0
2.11.3
What's Changed
- lightning: Update imports and bump requirements by @daavoo in #597
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #598
Full Changelog: 2.11.2...2.11.3
2.11.2
2.11.1
2.11.0
What's Changed
- Update comparison with other loggers by @daavoo in #578
- deps: bump dvc-studio-client>=0.10.0,<1 by @daavoo in #581
- live: Add
exp_message
arg. by @daavoo in #565 - log_metric: add plot flag by @dberenbaum in #584
- docs: add
dev
extra to install command in contributing guide by @sisp in #588 - check for no_scm repo by @dberenbaum in #585
- lightning: parse nested params by @dberenbaum in #571
- Skip framework tests by @daavoo in #590
- support metrics from multiple eval sets in lgbm by @raphcoterta in #563
- chore(setup): migrate to pyproject, add version by @shcheklein in #589
- suppress dvc logs by @dberenbaum in #583
New Contributors
- @sisp made their first contribution in #588
- @raphcoterta made their first contribution in #563
Full Changelog: 2.10.1...2.11.0
2.10.1
What's Changed
- fix(summary): proper EOF with a newline by @shcheklein in #575
- dvc: Remove vendored get_random_exp_name. by @daavoo in #577
Full Changelog: 2.10.0...2.10.1
2.10.0
What's Changed
- mypy: remove --install-types by @daavoo in #567
- use markdown for notebook reports by @dberenbaum in #558
- read studio token from dvc config by @dberenbaum in #561
- fix(make_dvcyaml): make it idempotent for artifacts by @shcheklein in #573
Full Changelog: 2.9.0...2.9.1
2.9.0
What's Changed
- fix(log_artifact): don't follow symlink on dumping dvc.yaml by @shcheklein in #564
- feat(log_artifact): add an option to copy (capture) into dvclive dir by @shcheklein in #559
- studio: send images. by @daavoo in #525
Full Changelog: 2.8.1...2.9.0
2.8.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #554
- allow for custom image subclasses by @dberenbaum in #553
- live: Catch errors in
_ensure_paths_are_tracked_in_dvc_exp
. by @daavoo in #555
Full Changelog: 2.8.0...2.8.1
2.8.0: Live.log_plot
New Features
Live.log_plot
Create DVC plots from datapoints (list of dictionaries) and plot config.
datapoints = [{"foo": 1, "bar": 2}, {"foo": 3, "bar": 4}]
with Live() as live:
live.log_plot("foo_default", datapoints, x="foo", y="bar", title="Default Linear Plot")
live.log_plot(
"foo_scatter",
datapoints,
x="foo",
y="bar",
template="scatter",
title="Plot using Scatter template",
y_label="CUSTOM LABEL: BAR",
x_label="CUSTOM LABEL: FOO"
)
Example output:
dvclive/plots/custom/foo_default.json
[
{
"foo": 1,
"bar": 2
},
{
"foo": 3,
"bar": 4
}
]
dvclive/dvc.yaml
plots:
- plots/custom/foo_default.json:
x: foo
y: bar
title: Default Linear Plot
- plots/custom/foo_scatter.json:
template: scatter
x: foo
y: bar
title: Plot using Scatter template
x_label: 'CUSTOM LABEL: FOO'
y_label: 'CUSTOM LABEL: BAR'
dvc plots show
Custom plot properties for Live.log_sklearn_plot
from dvclive import Live
y_true = [0, 0, 1, 1]
y_score = [0.1, 0.4, 0.35, 0.8]
with Live() as live:
live.log_sklearn_plot(
"roc", y_true, y_score,
# These properties are new
title="Custom Title for ROC Curve",
x_label="False Positive Rate",
y_label="True Positive Rate")
What's Changed
- only log from dvclive by @dberenbaum in #541
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #544
- setup: Use ranges for test dependencies. by @daavoo in #545
- live: Add
log_plot
. by @daavoo in #543
Full Changelog: https://github.com/iterative/dvclive/compare/2.7.0...2.8.0###