-
Notifications
You must be signed in to change notification settings - Fork 918
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
Fix/Robuster parameters check when loading weights #1952
Merged
Merged
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7dff28a
fix: comparing the parameters stored in .model_params (saved and load…
madtoinou 6fb6389
Merge branch 'master' into fix/load_tft_from_ckpt
dennisbader dd97bd5
feat: nicer message, all the hp discrepancies are listed at once
madtoinou c085830
feat: repr method for LikelihoodModel
madtoinou 8d9d830
fix: removed unused param from LikelihoodModel.__repr__
madtoinou aa10741
fix: better sanity check of the kwargs during weights loading from ckpt
madtoinou 9b153fa
fix: removed copy-paste leftovers from unittests
madtoinou 5882a5b
fix: removing redudant helper code
madtoinou 294b712
test: adding tests, made the assertion more specific to distinguish i…
madtoinou a9811f4
Apply suggestions from code review
madtoinou b748689
fix: linting
madtoinou 19b2bb3
Update CHANGELOG.md
dennisbader 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 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
Oops, something went wrong.
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.
is this still relevant?
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.
Yes, it means that if the user manually use
QuantileRegression()
aslikelihood
for the loading model and the initial model was created withlikelihood=None
, an error will be raised despite the resulting model being acceptable. It's probably a corner case that will not occur much but we might want to prevent it?