Closed qmpzzpmq closed 1 year ago
Please explain what you mean with an example.
I had a yaml file like:
train:
dataset:
mapper: "A"
prcess_dps "B"
val:
dataset:
mapper: ${}
prcess_dps ${..train.process.dataset}
I would like keep the val.dataset.mapper same with train.dataset.mappser. so the reletive interpolation should be go up to parent levels twice. I don't find anyway to implement it
train:
dataset:
mapper: A
prcess_dps: B
val:
dataset:
mapper: ${...train.dataset.mapper}
prcess_dps: ${..train.prcess_dps}
as folling from documnet:
from: https://omegaconf.readthedocs.io/en/2.3_branch/usage.html
but how to access the parent of parent of current?