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

INDEX OUT OF RANGE IN SELF -- Pytorch GluonTS for large datasets #3134

Open
MyMacLearns opened this issue Feb 23, 2024 · 0 comments
Open

INDEX OUT OF RANGE IN SELF -- Pytorch GluonTS for large datasets #3134

MyMacLearns opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MyMacLearns
Copy link

Description

I'm training a GLUONTS model in AWS sagemaker and the model works fine for datasets with <140k item_ids, or 140k different time-series but it fails in the validation step for datasets with more than 140k item_ids. Why could that be?
The error is INDEX OUT OF RANGE IN SELF -- googling shows that this is something related to tensorflow or pytorch

To Reproduce

agg_metrics, item_metrics = evaluator(actual_it, forecast_it) File "/opt/conda/lib/python3.10/site-packages/gluonts/evaluation/_base.py", line 264, in call

 

agg_metrics, item_metrics = evaluator(actual_it, forecast_it) File "/opt/conda/lib/python3.10/site-packages/gluonts/evaluation/_base.py", line 264, in __call__
--
 

Error message or code output

(Paste the complete error message, including stack trace, or the undesired output that the above snippet produces.)

 index out of range in self

Environment

  • Operating system: Sagemaker
  • Python version: 3.10
  • GluonTS version: Newest
  • MXNet version: Pytorch not mxnet

(Add as much information about your environment as possible, e.g. dependencies versions.)

@MyMacLearns MyMacLearns added the bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant