Skip to content

exp run: reset when the lock file is in Git #5553

@dmpetrov

Description

@dmpetrov

Currently, the dvc exp run --reset option sets the checkpoints files to the latest commited dvc.lock (if that file is in Git). In many cases (probably in most of the cases), the training needs to be started from scratch but that seems not possible in the current design.

We should introduce something like --hard-reset to start training from scratch even for commited dvc.lock?

Also, I'm wondering about inconsistency between commited dvc.lock and not commited. It looks like --reset has a different behavior. Is there a way to unify it? The --hard-reser option does not unify it and I'm not sure it is the best way to solve the problem.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions