BUAABIGSCity / PDFormer

[AAAI2023] A PyTorch implementation of PDFormer: Propagation Delay-aware Dynamic Long-range Transformer for Traffic Flow Prediction.
MIT License
209 stars 35 forks source link

您好,请问为什么我训练PEMS08那个数据集的时候一开始加载数据的shape在特征维度那块是9呢?shape=train x: (10700, 12, 170, 9), y: (10700, 12, 170, 9) #17

Closed klayc-gzl closed 1 year ago

klayc-gzl commented 1 year ago

您好,请问为什么我训练PEMS08那个数据集的时候一开始加载数据的shape在特征维度那块是9呢?shape=train x: (10009, 12, 307, 9), y: (10009, 12, 307, 9)

klayc-gzl commented 1 year ago

9`{`4Y)YHE E L{(I7W~UW6

klayc-gzl commented 1 year ago

@aptx1231

aptx1231 commented 1 year ago

因为设置了add-time-in-day和add-day-in-week哦,增加时间信息1+1+7是9。 这个问题我好像在哪看到过,我以为我回复了呢,不好意思。

aptx1231 commented 1 year ago

add-time-in-day是增加一位是时间信息 add-day-in-week是增加7位的星期信息