shunyaoshih / TPA-LSTM

Temporal Pattern Attention for Multivariate Time Series Forecasting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's the assert self.para.highway == self.para.attention_len means in data_generator

Kitaharakasusa opened this issue · comments

when I change the data set to electricity and train, it will report a error by the assert self.para.highway == self.para.attention_len , but when I delete this line, it will run but report the input can not be empty?
I don't understand the relationship between the parameter highway and attention_len , could you please give me some help? thanks a lot.

Same problem here, in general I would love to test this model for my own data, is there an easy way to do this ?

has anyone managed to change the data at the end?

has anyone managed to change the data at the end?

I have tried to change the data, but I haven't finished it, my data is multiple variables to predict one, but this code is multiple to multiple, it's difficult to change it to me, by the way, change the value of highway and attention_len to the same, the code can run.

Same, also, my data is multivariate time series for different people - so I have a p x n x d dataset - for example values for 25 heart rate sensors for 300 time steps for 50 people. The MTS examples like electricity consumption are n x d (e.g. 25 sensors for 300 time steps)