zhouhaoyi / Informer2020

The GitHub repository for the paper "Informer" accepted by AAAI 2021.
Apache License 2.0
5.24k stars 1.1k forks source link

RuntimeError: Given groups=1, weight of size [512, 137, 3], expected input[32, 8, 98] to have 137 channels, but got 8 channels instead #621

Open tibeler opened 3 months ago

tibeler commented 3 months ago

what is the matter ? please help me

litelii commented 2 months ago

The default value of '--enc_in' and '--dec_in' you give is 137, but your dataset has 8 columns except 'date'. 把 '--enc_in' 和 '--dec_in' 这几个地方的值改为8应该就可以了。