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

Bug Fix for #1071: NHiTs encoder/decoder covariate size difference bug #1359

Merged
merged 8 commits into from
Oct 2, 2023

Conversation

bendavidsteel
Copy link
Contributor

@bendavidsteel bendavidsteel commented Aug 4, 2023

Description

Fix for #1071 and #1065

@bendavidsteel bendavidsteel changed the title Weight size bug fix Bug Fix for https://github.com/jdb78/pytorch-forecasting/issues/1071: NHiTs encoder/decoder covariate size difference bug Aug 4, 2023
@bendavidsteel bendavidsteel changed the title Bug Fix for https://github.com/jdb78/pytorch-forecasting/issues/1071: NHiTs encoder/decoder covariate size difference bug Bug Fix for #1071: NHiTs encoder/decoder covariate size difference bug Aug 4, 2023
Copy link
Collaborator

@jdb78 jdb78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test? Looks like it makes a lot of sense but would like to have a test for this as it is an actual change in the model

@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (4384365) 90.11% compared to head (c4a8339) 90.19%.
Report is 17 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1359      +/-   ##
==========================================
+ Coverage   90.11%   90.19%   +0.08%     
==========================================
  Files          30       30              
  Lines        4714     4724      +10     
==========================================
+ Hits         4248     4261      +13     
+ Misses        466      463       -3     
Flag Coverage Δ
cpu 90.19% <100.00%> (+0.08%) ⬆️
pytest 90.19% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pytorch_forecasting/models/base_model.py 88.11% <100.00%> (-0.08%) ⬇️
pytorch_forecasting/models/nhits/__init__.py 97.33% <100.00%> (+0.07%) ⬆️
pytorch_forecasting/models/nhits/sub_modules.py 83.95% <100.00%> (+0.30%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bendavidsteel
Copy link
Contributor Author

Sure! Added a new test for NHiTs, confirmed it fails on master and passes on my branch

jdb78
jdb78 previously approved these changes Sep 28, 2023
Copy link
Collaborator

@jdb78 jdb78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR! thanks a lot

@bendavidsteel
Copy link
Contributor Author

Thanks! Just fixed the linter problem, looks like you'll need to approve again to get the workflows to run

@jdb78 jdb78 enabled auto-merge October 2, 2023 14:24
@jdb78 jdb78 merged commit 8128061 into sktime:master Oct 2, 2023
15 checks passed
@bendavidsteel bendavidsteel deleted the weight-size-bug-fix branch October 2, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants