Skip to content

Commit b279646

Browse files
committed
Add example of showing configuration settings
1 parent 577de8f commit b279646

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source-code/hydra/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,17 @@ To use a different configuration file:
4444
```bash
4545
$ ./gen_rand.py -cn file_config.yaml
4646
```
47+
or
48+
```bash
49+
$ ./gen_rand.py --config-name=file_config.yaml
50+
```
4751

4852
To perform multiple runs with different parameter values:
4953
```bash
5054
$ ./gen_rand.py -m distr=uniform,gauss
5155
```
56+
57+
To view the configuration settings, e.g., for debugging:
58+
```bash
59+
$ ./gen_rand.py --cfg=job distr=uniform
60+
```

0 commit comments

Comments
 (0)