-
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
DVC metrics show doesn't find metrics files #4356
Comments
Ok so metrics in this particular repo are structured as list: I have to admit that this is unfortunate, as the error message is unclear what actually happened. I think we should print some warnings that the unknown metric type is present and we are skipping it. |
Thanks, @pared for this research! It's helpful. I guess for the Error message is indeed misleading and hint is wrong in this situation. It can be improved to at least include both - mention of -m/-M and supported metrics formats. I would not print warnings though (they all look very ugly in DVC, and we have one per every wrong metric that will be disastrous for us I think). We can print debug messages though, so that we can see what's happening in the |
Thanks, @pared and @shcheklein ! I think the mention of supported metrics formats in the message would have helped me self-correct. I have no immediate need for arrays. |
Should UPDATE: I guess you can always edit a metrics/plots file manually thus those commands need to check anyway... |
Bug Report
After marking some outputs as metrics using the
-M
option todvc run
,dvc metrics show
tells me there are no metrics files.Please provide information about your setup
Output of
dvc version
:as well as
Additional Information (if any):
Steps to reproduce:
The
dvc.yaml
has the paths to the metrics files, which are present in the repository. It was generated using a script similar toforecast.sh
. I asked about this problem on discord chat and ivan suggested I open a bug report here.The text was updated successfully, but these errors were encountered: