We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
q = self.q(x).flatten(2).reshape(B, self.num_heads, -1, H * W).permute(0, 1, 3, 2) RuntimeError: shape '[1, 8, -1, 336]' is invalid for input of size 90112
The text was updated successfully, but these errors were encountered:
I have met the same err, have you solved this?
Sorry, something went wrong.
I have use the mmsegmentation to run this as backbone, and I solve this err by copy the config file of poolformer, the key is adding this line
dict(type='ResizeToMultiple', size_divisor=32)
in test_pipeline
No branches or pull requests
q = self.q(x).flatten(2).reshape(B, self.num_heads, -1, H * W).permute(0, 1, 3, 2)
RuntimeError: shape '[1, 8, -1, 336]' is invalid for input of size 90112
The text was updated successfully, but these errors were encountered: