iterative / studio-support

❓ DVC Studio Issues, Question, and Discussions
https://studio.iterative.ai
16 stars 1 forks source link

Plots in studio are not correct and missing data #72

Closed haimat closed 1 year ago

haimat commented 1 year ago

I am using DVCLive in our project and have the following DVC configuration for our plots in dvc.yaml:

plots:
  - mAP:
      x: step
      y:
        dvclive/plots/metrics/map95.tsv: map95
        dvclive/plots/metrics/map50.tsv: map50
      title: Model Performance
      x_label: epoch
      y_label: value
  - PR:
      x: step
      y:
        dvclive/plots/metrics/precision.tsv: precision
        dvclive/plots/metrics/recall.tsv: recall
      title: Prevision vs. Recall
      x_label: epoch
      y_label: value

This produces the following plots via dvc plots show: image

However, the same data leads to these plots in Studio: image

How can I get to the same plots in Studio as we get locally via dvc?

shcheklein commented 1 year ago

@haimat could you please give a bit more details. What version of DVC you use locally?

As an idea to try - could you please try to use the simple template like in this project:

https://github.com/iterative/example-get-started/blob/main/dvc.yaml#L62

shcheklein commented 1 year ago

@dberenbaum in case you have ideas about this, I would appreciate your input.

dberenbaum commented 1 year ago

We updated the default template in DVC, and it unfortunately broke the Studio rendering for multi-line plots. We have already been working on a fix, so we will update here as soon as it's ready.

shcheklein commented 1 year ago

@dberenbaum would using simple help in this case for now?

dberenbaum commented 1 year ago

@dberenbaum would using simple help in this case for now?

Yes, that would also help, although I hope this will be fixed in the next few days.

ssachkovskaya commented 1 year ago

The fix should be available now (thanks @yathomasi!). @haimat could you please check if your plots work as expected?

haimat commented 1 year ago

Thanks all, the plots look correct now :+1: