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

模型推理问题 #13

Open
kakaroy123 opened this issue Jul 10, 2024 · 1 comment
Open

模型推理问题 #13

kakaroy123 opened this issue Jul 10, 2024 · 1 comment

Comments

@kakaroy123
Copy link

作者你好!最近在复现论文,得到模型后想跑新数据的预测结果,必须要把每天数据处理为每半小时1次,一天48次数据么?还有推理的时候怎么获取到每个网格的预测值呢?

@YuanYuan98
Copy link
Collaborator

Hello! It's not necessary to format the data into half-hour intervals (48 time slots per day). You can use separate temporal embedding modules that are capable of encoding data at different temporal resolutions.

As for the inference process, in the case of short-term prediction, the input data format should indeed be a sequence of 12 time slots, which corresponds to the combined duration of historical (6 slots) and future (6 slots) data for a 6-to-6 prediction scenario. The model outputs predictions for a sequence of 12 slots as well. If your prediction horizon is set to 6 time slots, you can simply extract the last 6 slots from the model's output to get your prediction results.

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