Dvclive

Latest version: v3.48.0

Safety actively analyzes 688433 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 20

1.0.3

What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvclive/pull/351
* report: Handle custom names used in `sklearn_plots`. by daavoo in https://github.com/iterative/dvclive/pull/372


**Full Changelog**: https://github.com/iterative/dvclive/compare/1.0.2...1.0.3

1.0.2

What's Changed
* add bandit, a security linter by skshetry in https://github.com/iterative/dvclive/pull/363
* integration: dvc: test checkpoint file creation by pared in https://github.com/iterative/dvclive/pull/342
* frameworks: Call `live.end` at the end of training. by daavoo in https://github.com/iterative/dvclive/pull/364
* lightning: support report kwarg by dberenbaum in https://github.com/iterative/dvclive/pull/369


**Full Changelog**: https://github.com/iterative/dvclive/compare/1.0.1...1.0.2

1.0.1

What's Changed
* [bug] lightning default dir integration fix by shcheklein in https://github.com/iterative/dvclive/pull/362


**Full Changelog**: https://github.com/iterative/dvclive/compare/1.0...1.0.1

1.0

Breaking changes

- Changes to the structure of the output directory and where methods write to 322

| Method | Before | Now
| -------------- | ----------------------| ----------------------- |
live.log_image | `dvclive/images` | `dvclive/plots/images` |
live.log_metric | `dvclive/scalars` | `dvclive/plots/metrics` |
live.log_sklearn_plot | `dvclive/plots` | `dvclive/plots/sklearn` |
live.make_summary | `dvclive.json` | `dvclive/summary.json` |

- `live.log` renamed to `live.log_metric` 343
- `live.log_plot` renamed to `live.log_sklearn_plot` 322
- Removed `live.get_step()` and `live.set_step()` in favor of `live.step` property. 357
- `live.log_image` No longer creates step subfolder. Instead overrides the previous step 331
The subfolder structure can be still manually created:
py
for i in range(2):
live.log_image(f"{live.step}/img.png", img)

- `live.log_metric` No longer calls `live.make_summary` 353
- `live.log_sklearn_plot` No longer raises error on `step` logging. Instead overrides previous step.
- Dropped support for `live` section in `dvc.yaml` 337

New Features

- `Live` can now be used as a context manager 354

py
with Live() as live:
live.log_metric("foo", 0.1)


- New `Live.summary` can be used to add metrics directly to the summary 354

py
with Live() as live:
for epoch in range(EPOCHS):
live.log_metric("loss", 0.1)
live.summary["additional_metric"] = 1.0


- Option to provide custom name for `Live.log_sklearn_plot`

py
live.log_sklearn_plot("confusion_matrix", y_true, y_pred, name="train/cm")


**Full Changelog**: https://github.com/iterative/dvclive/compare/0.12.1...1.0

1.0.0

0.12.1

What's Changed
* simplify/speedup catalyst tests by skshetry in https://github.com/iterative/dvclive/pull/327
* report: Don't set `md` if matplotlib is not installed. by daavoo in https://github.com/iterative/dvclive/pull/334


**Full Changelog**: https://github.com/iterative/dvclive/compare/0.12.0...0.12.1

Page 12 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.