Skip to content
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

Decode values when we want to add new CfgNode from yaml #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xwu4lab
Copy link

@xwu4lab xwu4lab commented Dec 14, 2020

We find that when we want to add a new CfgNode from .yaml, it doesn't decode values of the new CfgNode. So we just fix this bug.

@rbgirshick
Copy link
Owner

Hi @xwu4lab, can you add a unit test for this issue to yacs/tests.py as part of this PR? Thanks.

@xwu4lab
Copy link
Author

xwu4lab commented Dec 15, 2020

Have added a unit test for the case when we add new cfg-like entries with 1e? and list type variables from .yaml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants