Skip to content

Development #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Apr 23, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update for new version of hydra
  • Loading branch information
gjbex committed Jun 27, 2024
commit dfb5780636486b30c44983338ac14b53f1594077
3 changes: 2 additions & 1 deletion source-code/hydra/conf/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
verbose: False
n: 1
defaults:
- distr: gauss
- distr: gauss
- _self_
7 changes: 3 additions & 4 deletions source-code/hydra/conf/distr/gauss.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
distr:
name: gauss
mu: 0.0
sigma: 1.0
name: gauss
mu: 0.0
sigma: 1.0
7 changes: 3 additions & 4 deletions source-code/hydra/conf/distr/uniform.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
distr:
name: uniform
a: 0.0
b: 1.0
name: uniform
a: 0.0
b: 1.0
2 changes: 1 addition & 1 deletion source-code/hydra/gen_rand.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

LOG = logging.getLogger(sys.argv[0])

@hydra.main(config_path='conf/config.yaml')
@hydra.main(version_base=None, config_path='conf/', config_name='config')
def gen_rand(cfg):
if cfg.verbose:
print(cfg.pretty(), file=sys.stderr)
Expand Down