exp: remove mentions of resume

This commit is contained in:
dberenbaum
2022-03-22 14:07:56 +09:00
committed by Peter Rowlands (변기호)
parent 290a593322
commit 5cf59e4ee6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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(
+2 -1
View File
@@ -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
+1 -2
View File
@@ -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: