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

Fix WaveNet inputs #3022

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Fix WaveNet inputs #3022

merged 1 commit into from
Oct 20, 2023

Conversation

shchur
Copy link
Contributor

@shchur shchur commented Oct 20, 2023

Issue #, if available: #3021

Description of changes:

  • Pass feat_static_real to the WaveNet model
  • Fix the num_features computation in WaveNet model to account for the observed value indicator

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@shchur shchur added this to the v0.14 milestone Oct 20, 2023
@lostella lostella added pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch bug fix (one of pr required labels) labels Oct 20, 2023
@shchur shchur linked an issue Oct 20, 2023 that may be closed by this pull request
@lostella
Copy link
Contributor

@shchur I'm wondering whether this test case should have caught the issue?

@shchur
Copy link
Contributor Author

shchur commented Oct 20, 2023

@lostella Actually, I think that the model only breaks for num_feat_static_real > 1, so this test doesn't catch it.

@lostella lostella merged commit eadfceb into awslabs:dev Oct 20, 2023
18 of 19 checks passed
@shchur shchur deleted the fix-wavenet branch October 20, 2023 09:40
lostella pushed a commit to lostella/gluonts that referenced this pull request Oct 27, 2023
lostella added a commit that referenced this pull request Oct 27, 2023
* Fix WaveNet inputs (#3022)

* Fix version range for lightning (#3023)

* Allow VCS install using GLUONTS_FALLBACK_VERSION (#3028)

* Make `mypy` checks opt-out instead of opt-in, fix several type issues (#3027)

Co-authored-by: Oleksandr Shchur <shchuro@amazon.com>

* No API docs for nursery. (#3030)

* Fix: #3030. (#3031)

* Add support for Pydantic v1 and v2. (#3026)

---------

Co-authored-by: Oleksandr Shchur <shchuro@amazon.com>
Co-authored-by: ddelange <14880945+ddelange@users.noreply.github.com>
Co-authored-by: Jasper <schjaspe@amazon.de>
@lostella lostella added models This item concerns models implementations and removed pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix (one of pr required labels) models This item concerns models implementations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WaveNet model crashes if num_feat_static_real > 0
2 participants