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

您好,请问这个问题应该怎么修改呢 #5

Open
WCJ2 opened this issue Jun 5, 2023 · 3 comments
Open

您好,请问这个问题应该怎么修改呢 #5

WCJ2 opened this issue Jun 5, 2023 · 3 comments

Comments

@WCJ2
Copy link

WCJ2 commented Jun 5, 2023

运行时错误:张量 a (120) 的大小必须与非单例维度 72 的张量 b (1) 的大小匹配

@wanghq21
Copy link
Owner

wanghq21 commented Jun 6, 2023

我运行时没有出现这个问题,你注意一下这两个点呢
1、seq_len=label_len。
2、embedding的输入是x_mark_dec而不是x_mark_enc(对应到temporal_embedding)。

@17800308804
Copy link

我在运行run的时候一直出现File "E:\py\zyk\MICN-main\exp\exp_basic.py", line 11, in init
self.model = self._build_model().to(self.device)
AttributeError: 'NoneType' object has no attribute 'to'

@qjly421
Copy link

qjly421 commented Jan 21, 2024

这个是参数没调对,作者的micn.sh文件有对应的参数,能调用就调用,调用不了就把run里的True改为False成默认模式,然后对着sh文件改参数
image
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

4 participants