Skip to content

Commit

Permalink
experiments wip
Browse files Browse the repository at this point in the history
  • Loading branch information
omry committed Dec 30, 2020
1 parent ae920d0 commit 04f1b7d
Showing 1 changed file with 49 additions and 14 deletions.
63 changes: 49 additions & 14 deletions website/docs/patterns/configuring_experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,58 @@ This page shows how to use Hydra to create a file per experiment, overriding con
To avoid clutter, we will place the experiment config files in dedicated config group called *experiment*.

Below an example config directory structure before creating the *experiment* config group:

<div className="row">
<div className="col col--6">
<div className="col col--4">

```text title="Directory structure"
├── conf
│ ├── config.yaml
│ ├── db
│ │ ├── mysql.yaml
│ │ └── sqlite.yaml
│ └── server
│ ├── apache.yaml
│ └── nginx.yaml
└── my_app.py
├── config.yaml
├── db
│ ├── mysql.yaml
│ └── sqlite.yaml
└── server
├── apache.yaml
└── nginx.yaml
```
</div>
<div className="col col--4">

```yaml title="db/mysql.yaml"
name: sqlite
```
```yaml title="server/apache.yaml"
name: apache
port: 80
```
</div>
<div className="col col--4">
```yaml title="db/sqlite.yaml"
name: sqlite
```
```yaml title="server/nginx.yaml"
name: nginx
port: 80
```
</div>
</div>
<div className="row">
<div className="col col--6">
```yaml title="config.yaml"
defaults:
- db: mysql
- server: apache


```
</div>
<div className="col col--6">
Expand All @@ -34,10 +73,6 @@ db:
server:
name: apache
port: 80




```
</div>
</div>
Expand Down

0 comments on commit 04f1b7d

Please sign in to comment.