-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plots diff: unnecessary requirement for dvc.yaml to be valid #6150
Comments
This is a good example to support having the plots configuration separate from |
@pared @daavoo I lowered the priority of this, but it (and the old linked discussions from @Suor) relates to #6944 and https://www.notion.so/iterative/Dvclive-plots-configuration-011e41923e414bc3b2fd6c9a24ca061f, so maybe it can be addressed as part of those efforts? |
I think it does not relate to #6944 (at least given the scope described there). The However, this issue happens during the internal collection of plots (_collect_plots) so the extraction can't address it. |
@dberenbaum I think this is actually one example of what I have mentioned during the last Planning. Calling Those commands can be used and work properly without a |
@dberenbaum Ill try to fix that during #7086. There will be some changes in logic handling the targets, I should be able to squeeze some tests for that use case there too. |
@pared That sounds good, but I don't want to further expand the scope of that issue/PR more than needed, so I wouldn't push for it in there. |
Bug Report
Description
dvc plots diff --targets metrics/metrics_precision.tsv -- master
fails because of invalid dvc.yaml, though AFAIK no dvc.yaml is really required to plot this (the metrics_precision.tsv file is tracked with Git). This is how this plot looks like when produced with valid dvc.yamlReproduce
Expected
Expected to get plots without any error.
Environment information
Output of
dvc doctor
:Additional Information (if any):
I've encountered this error when stopped tracking params.yaml with Git. It's not like it's a common situation itself, but it seems strange that we need to look at dvc.yaml here.
The text was updated successfully, but these errors were encountered: