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

outputs和batch_y 序列长度问题 #112

Open
JJJTF opened this issue May 4, 2024 · 0 comments
Open

outputs和batch_y 序列长度问题 #112

JJJTF opened this issue May 4, 2024 · 0 comments

Comments

@JJJTF
Copy link

JJJTF commented May 4, 2024

您好,为什么在exp_main.py中的第172和173行中outputs = outputs[:, -self.args.pred_len:, f_dim:]和 batch_y = batch_y[:, -self.args.pred_len:, f_dim:].to(self.device)代码中outputs和batch_y 的长度不一致,最后通过-self.args.pred_len截取相同长度的序列计算损失?
请您解答我在时序预测中的疑问,谢谢!

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

1 participant