TimeMixer icon indicating copy to clipboard operation
TimeMixer copied to clipboard

An error

Open wtt6668888 opened this issue 1 year ago • 3 comments

RuntimeError: The size of tensor a (96) must match the size of tensor b (144) at non-singleton dimension 1

wtt6668888 avatar Sep 11 '24 12:09 wtt6668888

I met this error too, but I'm using NeuralForecast. I tried fixing it in a PR: Nixtla/neuralforecast#1141

carusyte avatar Sep 11 '24 14:09 carusyte

RuntimeError: The size of tensor a (96) must match the size of tensor b (144) at non-singleton dimension 1 You need to set label_len=0

Mumout01 avatar Sep 18 '24 07:09 Mumout01

RuntimeError: The size of tensor a (96) must match the size of tensor b (144) at non-singleton dimension 1

Thanks to attention for our work. Could you please provide the detailed log and specific scripts?

kwuking avatar Sep 21 '24 17:09 kwuking

I met the same problem, @wtt6668888 please check label_len set, default value is 48, and 96+48=144

jianzi123 avatar Oct 21 '24 14:10 jianzi123