Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于label_len参数的疑问 #80

Closed
Sunlandis opened this issue May 24, 2024 · 1 comment
Closed

关于label_len参数的疑问 #80

Sunlandis opened this issue May 24, 2024 · 1 comment

Comments

@Sunlandis
Copy link

您好,请问在run.py代码中 对label_len参数有一个标注:# no longer needed in inverted Transformers
据我所了解label_len是计算损失函数时所用的序列长度,是为了针对特定的预测范围和需求。那为什么在iTransformer这一倒置操作以后就不需要label_len了呢?但是在我跑的traffic预测任务的sh文件中对iTransformer的参数设置 没有提及label_len,那就是采用默认的48,与pred_len的96也不吻合,所以我不是很理解iTransformer不需要label_len的含义,是指不需要调整这个超参数吗?那为什么48比较好而不是和pred_len 一致呢?请指教!!🙏🙏🙏

@WenWeiTHU
Copy link
Collaborator

您好,请参考:thuml/Time-Series-Library#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants