Closed jopetty closed 3 years ago
In order for this to work ideally, we'll need a version of Hydra with support for recursive defaults to drop. It seems like this is targeted for the 1.1 release "soon".
Moving from conda
to poetry
allows use to target the 1.1.0.dev2
release of hydra-core
, with support for recursive defaults. Now the directory structure is as follows:
conf/
train.yaml
eval.yaml
repl.yaml
experiment/
experiment-1.yaml
....
model/
dataset/
hyperparameters/
The default train.yaml
file contains a missing default option for experiment: ???
, and an experiment-n.yaml
file should have the following form:
defaults:
- dataset: ???
- model: ???
- hyperparameters: ???
name: ???
I think it makes sense to structure the configs like this:
experiments
should really be the top-level config group since they referencedataset
s,model
s, andhyperparameters
. Experiments which share datasets can point to shared config files in thedataset
directory.