-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix inspection of unspecified args for container hparams #9125
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ae617b7
Update parsing.py
s-rog 8b0e5f1
add todo (for single arg)
s-rog 95f8914
unblock non container single arg
s-rog 00f5b27
init test
s-rog 2911c70
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b5eb070
Update CHANGELOG.md
s-rog df9289e
Merge branch 'master' into bug/hparams-parsing
s-rog 59dd364
pep8 line length
s-rog 19b3cf7
Update pytorch_lightning/utilities/parsing.py
s-rog 223527a
remove dict namespace conversion
s-rog 1ee5936
add omegaconf support
s-rog e4f4100
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d28cc40
add dict test
s-rog f08205a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4a95f93
add omegaconf test
s-rog a1351e3
Merge branch 'master' into bug/hparams-parsing
s-rog df39271
Merge branch 'master' into bug/hparams-parsing
s-rog 0c5654c
Update CHANGELOG.md
s-rog 1ff4320
Update pytorch_lightning/utilities/parsing.py
s-rog 87880c7
Update pytorch_lightning/utilities/parsing.py
s-rog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here it is immediately assume that the name of the arg was "hparams". previously, the logic below was checking for matching argument names in the signature.
While this old way of passing in hyperparameters is not our recommended way, we have not officially dropped backward compatibility for this and therefore this was an unwanted breaking change imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #9631 for an example of what was working previously.