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

mmcv中的modulated deform conv算子适配 #411

Open
POI-WX opened this issue Sep 18, 2023 · 1 comment
Open

mmcv中的modulated deform conv算子适配 #411

POI-WX opened this issue Sep 18, 2023 · 1 comment

Comments

@POI-WX
Copy link
Contributor

POI-WX commented Sep 18, 2023

Describe the bug
modulated deform conv算子在模型实际运行时会遇到output tensor的shape与offset tensor、mask tensor的shape不一致情况,无法满足cnnl kernel要求。
image

image

暂时无法通过变换,将这三个tensor的shape对齐以满足kernel要求【因为这些NCHW格式的tensor中每一个维度已经有了明确的实际意义】

@PetrelYy
Copy link
Collaborator

上述出错case 中offset,mask shpae应与input相同
因为ho=(hi+2*p-kh)/sh+1。 需要check下这里的offset mask shape为何计算不一致
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

2 participants