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

维度错误 #19

Open
sorosoo opened this issue Feb 6, 2024 · 3 comments
Open

维度错误 #19

sorosoo opened this issue Feb 6, 2024 · 3 comments

Comments

@sorosoo
Copy link

sorosoo commented Feb 6, 2024

你好,我单独将您代码中的dct函数和dct_channel_block模块摘取出来,输入了三维度的数据:(B, C, L),但是在dct中进行处理的时候,发现维度对不上,代码中试图在一个二维张量上使用一个三维索引:V = Vc[:, :, 0] * W_r - Vc[:, :, 1] * W_i,其中Vc为一个二维张量。是我传入dct_channel_block的维度不正确吗?

@Zero-coder
Copy link
Owner

Zero-coder commented Feb 14, 2024

您好,应该没有那么复杂,最近在忙,有空我再整理整理,推荐您试一下频域新工作:FreTS

@timecoderr
Copy link

你好,我单独将您代码中的dct函数和dct_channel_block模块摘取出来,输入了三维度的数据:(B, C, L),但是在dct中进行处理的时候,发现维度对不上,代码中试图在一个二维张量上使用一个三维索引:V = Vc[:, :, 0] * W_r - Vc[:, :, 1] * W_i,其中Vc为一个二维张量。是我传入dct_channel_block的维度不正确吗?

您好,请问您解决了吗?我遇到了同样的问题

@sorosoo
Copy link
Author

sorosoo commented Jun 21, 2024

你好,我单独将您代码中的dct函数和dct_channel_block模块摘取出来,输入了三维度的数据:(B, C, L),但是在dct中进行处理的时候,发现维度对不上,代码中试图在一个二维张量上使用一个三维索引:V = Vc[:, :, 0] * W_r - Vc[:, :, 1] * W_i,其中Vc为一个二维张量。是我传入dct_channel_block的维度不正确吗?

您好,请问您解决了吗?我遇到了同样的问题

没有解决。

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

3 participants