Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle guide: Cleaning Up Experiments #2710

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions content/docs/user-guide/experiment-management/cleaning.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,14 @@ The resulting `dvc exp show` table is as the following:

### Keeping experiments in all tags

When you tag the experiment commits by `git tag`,
`dvc exp show --all-tags` presents them along with the tags. If you want the
delete _all experiments without tags_, you can issue a `dvc exp gc --all-tags` command.
When you tag the experiment commits by `git tag`, `dvc exp show --all-tags`
presents them along with the tags. If you want the delete _all experiments
without tags_, you can issue a `dvc exp gc --all-tags` command.

```dvc
$ dvc exp show --all-tags
```

```dvctable
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┓
┃ Experiment ┃ acc ┃ model.conv_units ┃
Expand Down Expand Up @@ -155,14 +156,11 @@ $ dvc exp show --all-tags
└─────────────────────────┴────────┴───────────────────┘
```


### Keeping experiments in all commits

When you want to delete _all the experiments not associated with a Git commit_,
you can do so by `--all-commits` flag. It deletes the experiments in the
workspace that are not committed to the history.


workspace that are not committed to the history.

## Removing Experiments in Remotes

Expand Down