-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Convert to dict #19
Comments
A follow up to this question, can we use CfgNode like dict? i.e. cfg['key'] can return the value of the key. |
Here is my implementation (copied from the config.py)
|
For non-nested cfgNodes you can cast it into dict -> |
Two points:
|
Hey,
It would be great to have the native ablilty to convert config into a dict.
yacs/yacs/config.py
Line 191 in 8a679b4
The text was updated successfully, but these errors were encountered: