Skip to content

Commit b6a759e

Browse files
committed
Remove verbose flag
The hydra configuration is stored in the output directory anyway, so having this flag will detract from that hydra feature.
1 parent 8ca42d6 commit b6a759e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

source-code/hydra/conf/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
verbose: False
21
n: 1
2+
file: false
33
defaults:
44
- distr: gauss
55
- _self_

source-code/hydra/gen_rand.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
#!/usr/bin/env python
22

33
import hydra
4-
from omegaconf import OmegaConf
54
import logging
65
import numpy as np
76
import sys
87

98

109
@hydra.main(version_base=None, config_path='conf/', config_name='config')
1110
def gen_rand(cfg):
12-
if cfg.verbose:
13-
print(OmegaConf.to_yaml(cfg), file=sys.stderr)
1411
logger = logging.getLogger(__name__)
1512
if cfg.n <= 0:
1613
logger.error(f'negative number to generate {cfg.n}')

0 commit comments

Comments
 (0)