question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plots with multiple curves displayed wrong in cml

See original GitHub issue

I am getting beautiful pr curves with DVC, where I have a curve for each class on my plot.

I took what I had and created a cml pipeline and the result looked completely different/worse.

From dvc I run:

dvc plots diff
Screen Shot 2022-07-29 at 3 24 52 PM

For the cml version I run:

dvc plots diff --target pr.csv --show-vega origin/main
Screen Shot 2022-07-29 at 3 25 31 PM

For cml I used the docker image found on dockerhub, updated five days prior to my usage dvcorg/cml

@pared mentioned it might be due to fact that “file” results override flexible plots, as its parsed later, need to prepare a reproduction script.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
paredcommented, Aug 9, 2022

@shortcipher3 created a PR to fix this: iterative/dvc#8114

2reactions
dacbdcommented, Aug 2, 2022

@shortcipher3 thank you for the detailed steps, I was able to determine part of the issue.

The dvc plot being rendered via dvc plots diff --targets model_pr.csv main is in the regular vega format and the plot rendered via dvc plots diff --target model_pr.csv --show-vega main > vega.json is in the vega-lite format which differs slightly

there is probably a good way to programmatically extract the vega data embed on the index.html (in which case you can use vg2png instead of vl2png), but the quickest path to something workable would be to go:

dvc plots diff --targets model_pr.csv main
cml publish dvc_plots/index.html

cml publish with output a link like: https://asset.cml.dev/36855bf8a25c5882ce4c52ec85fc5d5f9f8f272f?cml=html which you can use in a report.md etc.

CC @daavoo @0x2b3bfa0 as feel they can probably recommend another approach?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chromosomal Instability in Chronic Myeloid Leukemia - NCBI
The error-prone DDR pathways, in an attempt to repair these broken chromosomes, create further chromosomal changes and instability in CML cells ...
Read more >
Chronic myeloid leukemia: 2018 update on diagnosis, therapy ...
Abstract Disease overview Chronic myeloid leukemia (CML) is a myeloproliferative neoplasm with an incidence of 1-2 cases per 100 000 adults.
Read more >
How I monitor residual disease in chronic myeloid leukemia
Molecular monitoring in chronic myeloid leukemia (CML) is a powerful tool to document treatment responses and predict relapse.
Read more >
Monitoring Chronic Myeloid Leukemia: How Molecular Tools ...
Quantitative PCR plot (RQ-PCR): the real-time amplification allows to measure the quantity of BCR-ABL1 transcript by using a reference curve ...
Read more >
Characterization of p190-Bcr-Abl chronic myeloid leukemia ...
p190Bcr-Abl CML patients demonstrated poor response to imatinib and ... cell lines. c Volcano plot of protein coding genes between p190 (n ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found