diff --git a/content/blog/2020-07-07-cml-release.md b/content/blog/2020-07-07-cml-release.md index 0157004203..9475bb37e2 100644 --- a/content/blog/2020-07-07-cml-release.md +++ b/content/blog/2020-07-07-cml-release.md @@ -134,7 +134,8 @@ cml: # Visualize loss function diff - dvc plots diff --target loss.csv --show-vega master > vega.json - - vl2png vega.json | cml publish --md >> report.md + - vl2png vega.json > plot.png + - cml publish --md plot.png >> report.md - dvc push data --run-cache - cml send-comment report.md ``` diff --git a/content/blog/2021-10-15-october-21-heartbeat.md b/content/blog/2021-10-15-october-21-heartbeat.md index ef4f78b645..5eec0dbfa3 100644 --- a/content/blog/2021-10-15-october-21-heartbeat.md +++ b/content/blog/2021-10-15-october-21-heartbeat.md @@ -296,7 +296,8 @@ jobs: -x actual \ -y predicted \ --show-vega master > vega.json - vl2png vega.json -s 1.5 | cml publish --md >> report.md + vl2png vega.json -s 1.5 > plot.png + cml publish --md plot.png >> report.md # Publish regularization function diff echo "### Effects of regularization" >> report.md @@ -304,7 +305,8 @@ jobs: --target estimators.csv \ -x Regularization \ --show-vega master > vega.json - vl2png vega.json -s 1.5 | cml publish --md >> report.md + vl2png vega.json -s 1.5 > plot.png + cml publish --md plot.png >> report.md cml send-comment report.md ```