Replies: 1 comment 3 replies
-
It is valid yaml; you can load it like this: >>> import yaml
>>> data = """
... - a=1
... - b=2
... - c=3
... """
>>> yaml.safe_load(data)
['a=1', 'b=2', 'c=3'] Or like this: >>> from omegaconf import OmegaConf
>>> OmegaConf.create(data)
['a=1', 'b=2', 'c=3']
>>> OmegaConf.load("overrides.yaml")
['a=1', 'b=2', 'c=3'] |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
firstly thanks a lot for the effort.
I tried to read overries.yaml, but it doesn't use yaml sytax.
For simplest case,
python example.py a=1 b=2 c=3
then there will be .hydra/overrides.yaml like this:
But it could not the loaded as yaml file. While the other files config.yaml and hydra.yaml could be rightly loaded as yaml files.
Is it a bug or property?
Best.
Should it be
Beta Was this translation helpful? Give feedback.
All reactions