https://github.com/omry/hydra-article-code
https://github.com/omry/hydra-article-code
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/omry/hydra-article-code
- Owner: omry
- License: mit
- Created: 2020-01-15T09:08:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T16:20:22.000Z (almost 6 years ago)
- Last Synced: 2025-03-25T14:21:48.070Z (10 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hydra-article-code
This repo contains a few examples from [Hydra — A fresh look at configuration for machine learning projects](http://bit.ly/2Sdq2B3).
Check out the repo, and install hydra with `pip install hydra-core`.
You can then run these examples.
See the [Hydra website](https://hydra.cc) for more info.
```yaml
$ python basic/my_app.py
dataset:
name: imagenet
path: /datasets/imagenet
$ python composition/my_app.py
dataset:
name: cifar10
path: /datasets/cifar10
$ python composition2/my_app.py
dataset:
name: cifar10
path: /datasets/cifar10
optimizer:
beta: 0.01
lr: 0.1
type: adam
```