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

Prediction length problem #20

Open
liyuzhan opened this issue Sep 14, 2024 · 1 comment
Open

Prediction length problem #20

liyuzhan opened this issue Sep 14, 2024 · 1 comment

Comments

@liyuzhan
Copy link

Hello author, I want to change the length of pred_len from 6 to 1, but when running the code, the following problem appears, how to solve it?
Traceback (most recent call last):
File "/data3/UniST-main/src/main.py", line 164, in
main()
File "/data3/UniST-main/src/main.py", line 113, in main
assert args.his_len + args.pred_len == args.seq_len
AssertionError

@YuanYuan98
Copy link
Collaborator

There are three parameters that define the prediction task: his_len, pred_len, and seq_len. Please ensure that the sum of pred_len and his_len equals seq_len to avoid this assertion error.

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