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

您好,代码GLMixBlock类中的self.norm1和self.norm2执行时会报错 #1

Open
Run-19 opened this issue Dec 20, 2024 · 1 comment

Comments

@Run-19
Copy link

Run-19 commented Dec 20, 2024

image
这里输入的x形状为[batch,c,h,w],但是self.norm1是LayerNorm2d((64, 1, 1), eps=1e-05, elementwise_affine=True),执行的时候在维度上会报错。self.norm2也是这个问题。

@rayleizhu
Copy link
Owner

rayleizhu commented Dec 22, 2024 via email

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