Open YodaEmbedding opened 2 months ago
Input:
# dataset/imagenet.yaml type: "ImageNetDataset" path: "/datasets/imagenet"
# example.yaml defaults: - dataset/imagenet - _self_ dataset: type: "Overriden"
Output (as expected):
dataset: type: 'Overriden' path: '/datasets/imagenet'
However, if we change example.yaml to:
example.yaml
# example.yaml defaults: - dataset/imagenet - _self_ dataset:
Output (unexpected, but correct):
dataset: null
The intuitive expected output would have been:
dataset: type: 'ImageNetDataset' path: '/datasets/imagenet'
See above.
When overriding existing dicts with a single null value, hydra could perhaps produce a warning.
🐛 Bug
Description
Input:
Output (as expected):
However, if we change
example.yaml
to:Output (unexpected, but correct):
The intuitive expected output would have been:
Checklist
To reproduce
See above.
Expected Behavior
When overriding existing dicts with a single null value, hydra could perhaps produce a warning.
System information
Additional context