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

Repeatedly print the same live path to dvc.yaml when specifying multi-level live paths in Windows System #848

Open
ws1336 opened this issue Nov 14, 2024 · 0 comments
Labels
A: log_metric Area: `live.log_metric` bug Did we break something? good first issue help wanted

Comments

@ws1336
Copy link

ws1336 commented Nov 14, 2024

Platform: Python 3.8.16 on Windows-10-10.0.22631-SP0

dvclive 3.5.0

Minimum reproducing code,Run this code twice:

from dvclive import Live

with Live(dir="dvclive/subdir") as live:
    live.log_metric("metric", 1)

The dvc.yaml outputs:

metrics:
- dvclive/subdir/metrics.json
- dvclive/subdir/metrics.json
plots:
- dvclive/subdir/plots/metrics:
    x: step
- dvclive/subdir/plots/metrics:
    x: step

The output I expect:

metrics:
- dvclive/subdir/metrics.json
plots:
- dvclive/subdir/plots/metrics:
    x: step

@shcheklein shcheklein added A: log_metric Area: `live.log_metric` bug Did we break something? good first issue help wanted labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: log_metric Area: `live.log_metric` bug Did we break something? good first issue help wanted
Projects
None yet
Development

No branches or pull requests

2 participants