Skip to content

Commit

Permalink
Merge branch 'HITS-AIN:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndDoser committed Sep 13, 2024
2 parents 6fd8c95 + f594e43 commit 8f88ea1
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 8f88ea1

Please sign in to comment.