Skip to content

Commit

Permalink
Exp init fixes (#3068)
Browse files Browse the repository at this point in the history
* cmd-ref exp init: default stage name

* cmd-ref exp init: minor fixes
  • Loading branch information
Dave Berenbaum authored Dec 7, 2021
1 parent 2e5f1e0 commit 9eb1e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/docs/command-reference/exp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ positional arguments:
push Push a local experiment to a Git remote.
pull Pull an experiment from a Git remote.
remove Remove local experiments.
init Initialize experiments.
init Codify project using DVC metafiles to run experiments.
```

## Description
Expand Down
7 changes: 3 additions & 4 deletions content/docs/command-reference/exp/init.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# exp init

Codify project using [DVC metafiles] to run [experiments].
Codify project using [DVC metafiles](/doc/user-guide/project-structure) to run
[experiments](/doc/user-guide/experiment-management).

## Synopsis

Expand Down Expand Up @@ -107,9 +108,7 @@ $ dvc exp init './another_script.sh $MYENVVAR'
[checkpoints](/doc/command-reference/exp/run#checkpoints).

- `-n <stage>`, `--name <stage>` - specify a custom name for the stage generated
by this command (e.g. `-n train`). By default, the name of the stage depends
on `--type` of the stage that is being created. If
`--type=default, the name of the stage will be `default`, and in case of `--type=dl`, the name of the stage will be `dl`.
by this command (e.g. `-n train`). The default is `train`.

Note that the stage name can only contain letters, numbers, dash `-` and
underscore `_`.
Expand Down

0 comments on commit 9eb1e85

Please sign in to comment.