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

Support None in DictAction #1112

Closed
ZwwWayne opened this issue Jun 19, 2021 · 0 comments · Fixed by #1834
Closed

Support None in DictAction #1112

ZwwWayne opened this issue Jun 19, 2021 · 0 comments · Fixed by #1834
Assignees

Comments

@ZwwWayne
Copy link
Collaborator

Some times there are needs to override some key in the config to be None, e.g., the load_from is assigned to some string and you want to override it through --cfg-options load_from=None, it will pass a string of None rather than the real None value to the config and make checkpoint loader load checkpoint from a path named 'None'

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

Successfully merging a pull request may close this issue.

3 participants