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

Is this project, still working #9

Open
rvt123 opened this issue May 1, 2023 · 1 comment
Open

Is this project, still working #9

rvt123 opened this issue May 1, 2023 · 1 comment

Comments

@rvt123
Copy link

rvt123 commented May 1, 2023

The notebook associated with this repository uses the model 'MQNHITS', which is nowhere to be found. The pretrained models may be based on vanilla NHITS and NBEATS but that isn't working. I don't know what 'h' and 'input_size' was used to train the models. Still, I tried with h=24 with was mentioned somewhere in the notebook, which resulted in another error.

model = NHITS.load_from_checkpoint(checkpoint_path='C://Users//raghu//Downloads//nhits_m4_hourly.ckpt',h=24,input_size=24*3)

AssertionError: max is not in ['MaxPool1d', 'AvgPool1d']

If I try to pass 'MaxPool1d' in another argument for pooling then too, there is an error

RuntimeError: Error(s) in loading state_dict for NBEATS:
Missing key(s) in state_dict: "blocks.0.layers.0.weight", "blocks.0.layers.0.bias", "blocks.0.layers.1.weight", "blocks.0.layers.1.bias",

And so on
Same kinda error with NBEATS as well.

So, just let me know if this project is updated and working

@umitkaanusta
Copy link

umitkaanusta commented Jun 24, 2023

+1, Got the exact same error for NHITS and NBEATS.

I'll try to pretrain from scratch using this colab now: https://colab.research.google.com/github/Nixtla/neuralforecast/blob/main/nbs/examples/Transfer_Learning.ipynb#scrollTo=wrdt0JNdMsop

Update: FYI pretraining with the models in the notebook above ends up with sMAPE around ~70 on the AirPassengers dataset. The models they uploaded to HF had much better zero-shot performance

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

No branches or pull requests

2 participants