nodes:
node1: 1
node2: 2
node3: 3
selected_node: ${subfield:${nodes},node1}
我可以制作一个subfield
解析器来返回nodes["node1"]
并存储它selected_node
吗?
到目前为止,我的尝试导致了这个错误:
omegaconf.errors.GrammarParseError: token recognition error at: '{'
full_key: selected_node
object_type=dict