Dvclive

Latest version: v3.46.1

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

Scan your dependencies

Page 12 of 20

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

0.12.0

What's Changed
* pyproject: fix coverage config by dtrifiro in https://github.com/iterative/dvclive/pull/304
* cleanup log param by dtrifiro in https://github.com/iterative/dvclive/pull/307
* keras: add ability to pass live into callback by shcheklein in https://github.com/iterative/dvclive/pull/302
* Run safety only against real dvclive deps. by daavoo in https://github.com/iterative/dvclive/pull/314
* bump mypy to 0.981, enable recursive type aliases by dtrifiro in https://github.com/iterative/dvclive/pull/308
* Update catalyst integration for `>22`. by daavoo in https://github.com/iterative/dvclive/pull/313
* Add `post_to_studio` by daavoo in https://github.com/iterative/dvclive/pull/297
* live: get rid of ParameterAlreadyLoggedError by dtrifiro in https://github.com/iterative/dvclive/pull/316
* Add ability to pass logger instance to frameworks by shcheklein in https://github.com/iterative/dvclive/pull/318
* integrations: lightning: migrate to simpler model by pared in https://github.com/iterative/dvclive/pull/319
* report: Add table for params by daavoo in https://github.com/iterative/dvclive/pull/320
* tests: Simplify huggingface tests. by daavoo in https://github.com/iterative/dvclive/pull/321

New Contributors
* shcheklein made their first contribution in https://github.com/iterative/dvclive/pull/302

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

0.11.0

What's Changed
* lightning: Update test. by daavoo in https://github.com/iterative/dvclive/pull/276
* tests: Remove hardcoded name by daavoo in https://github.com/iterative/dvclive/pull/275
* readme: remove donate badge by skshetry in https://github.com/iterative/dvclive/pull/280
* use py-template by dtrifiro in https://github.com/iterative/dvclive/pull/281
* data: Don't use `with_suffix` in `output_path`. by daavoo in https://github.com/iterative/dvclive/pull/285
* template: fix cruft.json by skshetry in https://github.com/iterative/dvclive/pull/294
* update template by github-actions in https://github.com/iterative/dvclive/pull/295
* Bump lightning by daavoo and avKostanov in https://github.com/iterative/dvclive/pull/296
* add log_param/log_params by dtrifiro in https://github.com/iterative/dvclive/pull/292
* integrations: fastai speed up tests by pared in https://github.com/iterative/dvclive/pull/301
* gha: pin 3.10 to 3.10.6 by dtrifiro in https://github.com/iterative/dvclive/pull/303

New Contributors
* skshetry made their first contribution in https://github.com/iterative/dvclive/pull/274
* dtrifiro made their first contribution in https://github.com/iterative/dvclive/pull/281
* avKostanov made their first contribution in https://github.com/iterative/dvclive/pull/296

**Full Changelog**: https://github.com/iterative/dvclive/compare/0.10.0...0.11.0

Page 12 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.