mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
exp show: fix bug where already collected exp results could be dropped (#5517)
This commit is contained in:
@@ -66,7 +66,8 @@ def _collect_experiment_branch(res, repo, branch, baseline, **kwargs):
|
||||
exp.update(collected_exp)
|
||||
else:
|
||||
exp = collected_exp
|
||||
res[rev] = exp
|
||||
if rev not in res:
|
||||
res[rev] = exp
|
||||
prev = rev
|
||||
if len(revs) > 1:
|
||||
res[prev]["checkpoint_parent"] = baseline
|
||||
|
||||
Reference in New Issue
Block a user