Edit on GitHub

exp remove

Delete specific dvc experiments from the project.

Synopsis

usage: dvc experiments remove [-h] [-q | -v] [--queue]
                              [experiment [experiment ...]]

positional arguments:
   experiment    Experiments to remove.

Description

Deletes one or more experiments, indicated by name (see dvc exp run).

With --queue, the list of experiments awaiting execution is cleared instead.

Note that all the checkpoints in an experiment are removed by this command.

Options

  • --queue - remove all experiments that haven't been run yet (defined via dvc exp run --queue).
  • -f, --force - force garbage collection. Skip confirmation prompt.
  • -h, --help - shows the help message and exit.
  • -q, --quiet - do not write anything to standard output. Exit with 0 if no problems arise, otherwise 1.
  • -v, --verbose - displays detailed tracing information from executing the dvc pull command.

Examples

Let's say we have dvc exp run 3 experiments in our project:

$ dvc exp list
master:
        exp-e6c97
        exp-1dad0
        exp-1df77

To remove any of them, just give their names to dvc exp remove:

$ dvc exp remove exp-1dad0 exp-1df77

$ dvc exp list
master:
        exp-e6c97
Content

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat