yuqinie98 / PatchTST

An offical implementation of PatchTST: "A Time Series is Worth 64 Words: Long-term Forecasting with Transformers." (ICLR 2023) https://arxiv.org/abs/2211.14730

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about channels

agl71 opened this issue · comments

Hi:
I debug the sorce code by running electricity.sh and found that the parameter "individual" was set to 0, which means that no channel independent data was sent into Transformer backbone. But the result is coincide with Table-3 in the paper.

Is it means that test results in Table-3 of the paper are based on no channel independent?

Best regards;

Hi, if individual is set to True, then each channel will have its own linear embedding. Otherwise, they all share the same embedding layer. All the transformer backbone are shared in either case. You can look at the code here:

thanks a lot, i do have the same problems about that

Hi, if individual is set to True, then each channel will have its own linear embedding. Otherwise, they all share the same embedding layer. All the transformer backbone are shared in either case. You can look at the code here:

The question is that the "self.individual" is set to False in every script, provided in official codes. BUT, the claims in the paper tell the performance with the setting "individual == true". They are inconsistent.