thuml / Autoformer

About Code release for "Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting" (NeurIPS 2021), https://arxiv.org/abs/2106.13008
MIT License
2k stars 429 forks source link

IndexError: tuple index out of range #113

Closed cxqs closed 1 year ago

cxqs commented 1 year ago

File "/root/autodl-tmp/Autoformer2021/exp/exp_main.py", line 248, in test preds = preds.reshape(-1, preds.shape[-2], preds.shape[-1]) IndexError: tuple index out of range image

wuhaixu2016 commented 1 year ago

Hi, thanks for your response!

We have fixed this problem in the latest commit: https://github.com/thuml/Autoformer/commit/fd047f16981de2a659882795b1441c884f456601