Skip to content

few shot代码执行异常 #6

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

Open
MRBXCD opened this issue Nov 6, 2024 · 0 comments
Open

few shot代码执行异常 #6

MRBXCD opened this issue Nov 6, 2024 · 0 comments

Comments

@MRBXCD
Copy link

MRBXCD commented Nov 6, 2024

作者您好,我在尝试复现您的实验的时候遇到了一些关于few shot代码执行的问题。

首先是当尝试720预测长度的时候,代码报错显示:
image
我尝试进行调试并解决这个问题,发现是当预测长度为720的时候,class Dataset_ETT_minute(Dataset):中实现的__len__方法会返回一个负数,即 523-96-720+1=-292,我不清楚这个问题是否可以通过更改修正__len__方法方法来做到。此外这个方法虽然不会导致预测长度86,192,336出现代码执行问题,但是得到的结果也与论文中呈现的差距很大,显然不是正确的结果:
image

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