• Docs >
  • Configure hyperparameters from the CLI
Shortcuts

Configure hyperparameters from the CLI

Why use a CLI

When running deep learning experiments, there are a couple of good practices that are recommended to follow:

  • Separate configuration from source code

  • Guarantee reproducibility of experiments

Implementing a command line interface (CLI) makes it possible to execute an experiment from a shell terminal. By having a CLI, there is a clear separation between the Python source code and what hyperparameters are used for a particular experiment. If the CLI corresponds to a stable version of the code, reproducing an experiment can be achieved by installing the same version of the code plus dependencies and running with the same configuration (CLI arguments).


Basic use


Advanced use


Miscellaneous