Skip to content
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

Default metrics file #6168

Closed
dberenbaum opened this issue Jun 14, 2021 · 2 comments
Closed

Default metrics file #6168

dberenbaum opened this issue Jun 14, 2021 · 2 comments
Labels
A: metrics Related to dvc metrics diff/show Related to the diff/show feature feature request Requesting a new feature

Comments

@dberenbaum
Copy link
Collaborator

dberenbaum commented Jun 14, 2021

Goal: make it easier to use experiment tracking in DVC (especially exp show) without worrying about pipelines, data management, etc.

DVC already has a default params.yaml that does not need to be specified in any stage for parameters to be tracked. Having similar defaults for metrics (for example, metrics.json) could enable DVC to read these artifacts without needing to specify them in dvc.yaml.

Example:

$ git init
$ dvc init
$ echo '{"acc": 0.5}' > metrics.json
$ git add .
$ git commit -m "adds metrics"
$ echo '{"acc": 0.6}' > metrics.json
$ dvc exp show
┏━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┓
┃ Experiment ┃ Created  ┃ acc   ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━┩
│ workspace  │ -        │ 0.6   │
│ main       │ 04:43 PM │ 0.5   │
│ 8968a78    │ 04:43 PM │ 0.5   │
└────────────┴──────────┴───────┘

This would allow for users to get started quickly with experiment tracking by writing out their metrics to the specified locations without needing any other dvc-specific configuration.

@dberenbaum dberenbaum added feature request Requesting a new feature diff/show Related to the diff/show feature labels Jun 14, 2021
@skshetry skshetry mentioned this issue Oct 5, 2021
16 tasks
@daavoo daavoo added A: metrics Related to dvc metrics A: experiments Related to dvc exp and removed A: experiments Related to dvc exp labels Feb 22, 2022
@dberenbaum

This comment was marked as resolved.

@dberenbaum
Copy link
Collaborator Author

Closing in favor of #8371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: metrics Related to dvc metrics diff/show Related to the diff/show feature feature request Requesting a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants