-
Notifications
You must be signed in to change notification settings - Fork 160
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
Temporary Wrappers to fix MADE #1398
Conversation
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.
great, thanks for adding this!
can you maybe add a simple test for this patch in general? e.g., conditional density estimation with a linear gaussian test with multiple dimensions? I think this test is missing in nflows
anyways so it would be good to have this.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1398 +/- ##
===========================================
- Coverage 89.31% 78.13% -11.19%
===========================================
Files 119 119
Lines 8779 8891 +112
===========================================
- Hits 7841 6947 -894
- Misses 938 1944 +1006
Flags with carried forward coverage won't be shown. Click here to find out more.
|
I added |
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.
Great! Makes sense now and the new made test nicely fails without your fix. Thanks! 🙏
Fixes #1394.
The fix here is to add a wrapper around
MADE
andMADEMoG
which just initializes the networks with an additional dummy feature, and replaces theforward
call of these methods by first adding a dummy input variable which gets thrown out of the output.