mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
exp: remove mentions of resume
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
290a593322
commit
5cf59e4ee6
@@ -81,7 +81,7 @@ def add_parser(experiments_subparsers, parent_parser):
|
||||
|
||||
|
||||
def _add_run_common(parser):
|
||||
"""Add common args for 'exp run' and 'exp resume'."""
|
||||
"""Add common args for 'exp run'."""
|
||||
# inherit arguments from `dvc repro`
|
||||
add_repro_arguments(parser)
|
||||
parser.add_argument(
|
||||
|
||||
@@ -54,7 +54,8 @@ class CheckpointExistsError(DvcException):
|
||||
"experiment run:\n\n"
|
||||
"\tdvc exp run -f ...\n\n"
|
||||
"To resume the existing experiment, run:\n\n"
|
||||
f"\tdvc exp resume {name}\n"
|
||||
f"\tdvc exp apply {name}\n"
|
||||
f"\tdvc exp run\n"
|
||||
)
|
||||
super().__init__(msg)
|
||||
self.name = name
|
||||
|
||||
@@ -28,8 +28,7 @@ def _reproduce_stage(stage: "Stage", **kwargs):
|
||||
else:
|
||||
raise DvcException(
|
||||
"Checkpoint stages are not supported in 'dvc repro'. "
|
||||
"Checkpoint stages must be reproduced with 'dvc exp run' "
|
||||
"or 'dvc exp resume'."
|
||||
"Checkpoint stages must be reproduced with 'dvc exp run'. "
|
||||
)
|
||||
|
||||
if stage.frozen and not stage.is_import:
|
||||
|
||||
Reference in New Issue
Block a user