Skip to content

dvc exp run: revision for not queue/temp scenario #5814

@dmpetrov

Description

@dmpetrov

DVC start each checkpoint from scratch when use --rev not from queue/temp:

$ dvc exp run --rev 452b20a --set-param lr=0.01
...

Accuracy is improving from 0.0 to ~0.16 in each checkpoint and starts from 0.0 again while it should start from 0.735 and got up with each of the checkpoint:

$ dvc exp show --no-pager
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━┳━━━━━━━━┳━━━┓
┃ Experiment              ┃ Created      ┃ step ┃   loss ┃ accuracy ┃ … ┃ epochs ┃ … ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━╇━━━━━━━━╇━━━┩
│ workspace               │ -            │   41 │ 2.1555 │  0.16285 │ … │ 15     │ … │
│ master                  │ Mar 30, 2021 │    - │      - │        - │ - │ 15     │ … │
│ │ ╓ exp-09c97           │ 01:54 AM     │   41 │ 2.1555 │  0.16285 │ … │ 15     │ … │
│ │ ╟ 093d983             │ 01:54 AM     │   40 │ 2.1634 │   0.1629 │ … │ 15     │ … │
│ │ ╟ a8bb8f5             │ 01:54 AM     │   39 │ 2.1638 │  0.16078 │ … │ 15     │ … │
│ │ ╟ 85a61a9 (452b20a)   │ 01:54 AM     │   38 │ 2.2047 │  0.16487 │ … │ 15     │ … │
...

│ │ ╟ 452b20a             │ Apr 12, 2021 │   18 │ 1.4032 │    0.735 │ … │ 15     │ … │

PS: --temp option name is a bit confusing. I'd prefer something like --background.

Metadata

Metadata

Assignees

Labels

A: experimentsRelated to dvc expbugDid we break something?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions