Skip to content

Commit

Permalink
Update training.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-tg authored Aug 27, 2024
1 parent bb9d3a3 commit f311895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## LightningCLI

[LightningCLI](https://lightning.ai/docs/pytorch/latest/cli/lightning_cli.html#lightning-cli) is a command line interface separating source code from hyperparameters. Hyperparameters are defined in a YAML file `config.yaml` and passed to the CLI.
[LightningCLI](https://lightning.ai/docs/pytorch/latest/cli/lightning_cli.html#lightning-cli) is a command line interface separating source code from hyperparameters. The hyperparameters are defined in a YAML file `config.yaml` and passed to the CLI.

```bash
spherinator fit -c experiments/illustris_power.yaml
spherinator fit -c experiments/config.yaml
```

Arguments can be directly defined on the command line and overwrite the YAML file.
Expand All @@ -21,7 +21,7 @@ Examples:
The config-file [callback_log_reconstructions.yaml](experiments/callback_log_reconstructions.yaml) can be appended to visualize the reconstructed images during training at W&B. Therefore, the W&B config-file must be appended as well.

```bash
spherinator fit -c experiments/illustris_power.yaml \
spherinator fit -c experiments/config.yaml \
-c experiments/wandb.yaml \
-c experiments/callback_log_reconstructions.yaml
```

0 comments on commit f311895

Please sign in to comment.