Closed noppelmax closed 2 months ago
Describe the bug I want to run an interpolation with the defaults I have defined in subdirectories. However, I get an Interpolation error (see below).
My file structure is
max@merry ~/demo [18:22:30] (base) > $ tree . ├── conf │ ├── config.yaml │ └── targetexplanation │ ├── blob.yaml │ └── square.yaml └── demo.py
and conf/config.yaml is
conf/config.yaml
defaults: - targetexplanation: square experimentpath: ./${targetexplanation}
I expect experimentpath to be ./square. I also tried ${targetexplanation.name}, which also does not work.
experimentpath
./square
${targetexplanation.name}
To Reproduce Please find a demo project here:
demo.zip
Expected behavior See above. I would expect to get the interpolation working.
Additional context
Nevermind! I think the defaults: functionality comes from Hydra. Thank you for OmegaConf. This issue can be closed.
defaults:
Describe the bug I want to run an interpolation with the defaults I have defined in subdirectories. However, I get an Interpolation error (see below).
My file structure is
and
conf/config.yaml
isI expect
experimentpath
to be./square
. I also tried${targetexplanation.name}
, which also does not work.To Reproduce Please find a demo project here:
demo.zip
Expected behavior See above. I would expect to get the interpolation working.
Additional context