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

模型滤波器问题 #5734

Open
todesti2 opened this issue Aug 9, 2023 · 0 comments
Open

模型滤波器问题 #5734

todesti2 opened this issue Aug 9, 2023 · 0 comments
Assignees

Comments

@todesti2
Copy link

todesti2 commented Aug 9, 2023

您好,我在替换某个卷积模块之后,出现了下面的报错,实在解决不出来
ValueError: (InvalidArgument) The number of input's channels should be equal to filter's channels * groups for Op(Conv). But received: the input's channels is 704, the input's shape is [4, 704, 168, 168]; the filter's channels is 448, the filter's shape is [64, 448, 1, 1]; the groups is 1, the data_format is NCHW. The error may come from wrong data_format setting.
[Hint: Expected input_channels == filter_dims[1] * groups, but received input_channels:704 != filter_dims[1] * groups:448.] (at ../paddle/phi/infermeta/binary.cc:534)

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