Replies: 1 comment
-
You'll probably want to use a relative interpolation from omegaconf import OmegaConf
yaml_data = """
single_frame:
train:
sequence_length: 16
step: ${.sequence_length} # step = sequence_length by default
batch_size: 1 # default, can't be changed
random_shuffle: True
"""
config = OmegaConf.create(yaml_data)
assert config.single_frame.train.step == 16 See also |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've read the docs here.
Still trying to figure out how can I do something like
this returns:
but I want
step: 16
.how should i go about it?
Beta Was this translation helpful? Give feedback.
All reactions