Skip to content

Commit

Permalink
Merge pull request #206 from HITS-AIN/sebastian-tg-patch-1
Browse files Browse the repository at this point in the history
Update training.md
  • Loading branch information
BerndDoser authored Sep 11, 2024
2 parents b41760d + f311895 commit f594e43
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 f594e43

Please sign in to comment.