Skip to content

Releases: iterative/dvclive

2.11.2

09 Jun 15:23
09fdd06
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.11.1...2.11.2

2.11.1

08 Jun 12:16
aad6a01
Compare
Choose a tag to compare

What's Changed

  • xgb: infer metric data names from evals and deprecate metric_data by @sisp in #587
  • lightning: Only force init if report="notebook". by @daavoo in #595

Full Changelog: 2.11.0...2.11.1

2.11.0

30 May 08:23
ce68fe1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.10.1...2.11.0

2.10.1

22 May 11:32
269e96a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.10.0...2.10.1

2.10.0

21 May 10:26
31a7908
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.9.0...2.9.1

2.9.0

15 May 12:08
9a1a217
Compare
Choose a tag to compare

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

02 May 09:00
29b95c3
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.8.0...2.8.1

2.8.0: Live.log_plot

27 Apr 16:08
96ed99c
Compare
Choose a tag to compare

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

Captura de pantalla 2023-04-26 a las 20 16 51

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

Full Changelog: https://github.com/iterative/dvclive/compare/2.7.0...2.8.0###

2.7.0: `artifacts` section.

24 Apr 08:53
0f59e9f
Compare
Choose a tag to compare

New Features

artifacts section

You can now pass metadata to Live.log_artifact that will be written to a new artifacts section in the dvc.yaml located at {Live.dir}/{Live.dvc_file}.

Available metadata fields are:

type: Optional[str] = None,
name: Optional[str] = None,
desc: Optional[str] = None,
labels: Optional[List[str]] = None,
meta: Optional[Dict[str, Any]] = None,

When passing type="model", the artifact will be identified by Studio and automatically included in the Studio Model Registry.

  • Example
from pathlib import Path
from dvclive import Live

Path("model.pth").write_text("foo")

with Live(save_dvc_exp=True) as live:
    live.log_artifact(
        "model.pth",
        type="model",
        name="mymodel",
        desc="Finetuned ResNet50",
    )
# dvclive/dvc.yaml
artifacts:
  mymodel:
    path: ../model.pth
    type: model
    desc: Finetuned ResNet50

Auto-initialization of DVC Repo

When inside a non-empty Git Repository, DVCLive will auto-initialize a DVC Repository when needed.

What's Changed

New Contributors

Full Changelog: 2.6.4...2.7.0

2.6.4

14 Apr 17:57
ad58a3f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.6.3...2.6.4