You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am having a very simple problem but seem to not get it to work. I want to load a default config, that contains user specific paths, and load it into other configs. My folder structure looks like this:
/user/profile.yaml
and
/task/... subdirectories .../my_task.yaml
I am trying to load profile.yaml in my task.yaml like this:
defaults:
- ../... walking up subdirectories .../user/profile
dataset_path: ${dataset_path}
But it doesnt work. The path is set correctly, because it doesnt throw an error while load, and I can print the the config object. But for some reason hydra creates a very deep nested dictionary
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hey, I am having a very simple problem but seem to not get it to work. I want to load a default config, that contains user specific paths, and load it into other configs. My folder structure looks like this:
/user/profile.yamland
/task/... subdirectories .../my_task.yamlI am trying to load
profile.yamlin mytask.yamllike this:But it doesnt work. The path is set correctly, because it doesnt throw an error while load, and I can print the the config object. But for some reason hydra creates a very deep nested dictionary
{'': {'': {'': {'': {'': {'': {'': {'': {'dataset_path': '...'}}}}}}}}}Any hints how to do this correctly?
All reactions