question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support OmegaConf configs

See original GitHub issue

wandb --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.

image

Would expect: mlp.depth, mlp.hidden_size etc. in dot notation.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
omrycommented, Sep 16, 2020

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 😃.

5reactions
issue-label-bot[bot]commented, Sep 11, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found