Support OmegaConf configs
See original GitHub issuewandb --version && python --version && uname
- Weights and Biases version: 0.9.6
- Python version: 3.8
- Operating System: MacOS Catalina
Description
Can OmegaConf objects be supported in addition to dictionaries?
Presently, OmegaConf configs donot get unrolled (or unpacked?) properly.
Would expect: mlp.depth, mlp.hidden_size etc. in dot notation.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Structured config — OmegaConf 2.1.3.dev0 documentation
Structured Config fields annotated with typing.List or typing.Tuple can hold any type supported by OmegaConf ( int , float . bool , str...
Read more >Structured Configs — OmegaConf 2.4.0.dev0 documentation
Simple types; Static type checker support; Runtime type validation and conversion; Nesting structured configs; Lists; Dictionaries; Nested dict and list ...
Read more >OmegaConf — OmegaConf 2.3.0 documentation
OmegaConf is a YAML based hierarchical configuration system, with support for merging configurations from multiple sources (files, CLI argument, ...
Read more >Installation — OmegaConf 2.1.3.dev0 documentation
You can create OmegaConf objects from structured config classes or objects. This provides static and ... OmegaConf support several configuration flags.
Read more >Structured config — OmegaConf 2.0.6 documentation
OmegaConf supports merging configs together, as well as overriding from the command line. This means some mistakes can not be identified by static...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want to convert OmegaConf containers to primitive containers, use
OmegaConf.to_container(cfg, resolve=[True|False])
. See the docs of OmegaConf.There is no need to create your own (broken, sorry) implementation 😃.
Issue-Label Bot is automatically applying the label
enhancement
to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.