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

dcn layer error #3859

Closed
as754770178 opened this issue Sep 29, 2020 · 2 comments
Closed

dcn layer error #3859

as754770178 opened this issue Sep 29, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@as754770178
Copy link

I run faster_rcnn_x101_32x4d_fpn_dconv_c3-c5_1x_coco by mmdet:2.4.0 and mmcv:1.1.3, report error:

  File "/usr/local/lib/python3.6/site-packages/torch/autograd/function.py", line 77, in apply
    return self._forward_cls.backward(self, *args)
  File "/usr/local/lib/python3.6/site-packages/torch/autograd/function.py", line 189, in wrapper
    outputs = fn(ctx, *args)
  File "/usr/local/lib/python3.6/site-packages/mmcv/ops/deform_conv.py", line 126, in backward
    im2col_step=cur_im2col_step)
RuntimeError: shape '[1024, 1024, 3, 3]' is invalid for input of size 294912

I change to mmdet:2.3.0 and mmcv:1.0.5, not report error.

@ZwwWayne ZwwWayne added the bug Something isn't working label Sep 29, 2020
@ZwwWayne
Copy link
Collaborator

This is a bug introduced in open-mmlab/mmcv#565. Thanks for your bug report, we will fix it ASAP.

@Charlyo
Copy link

Charlyo commented Aug 10, 2021

@yhcao6 Reopening this since it still happens in mmcv-full 1.3.9 and mmdet 2.15.0

/venv/lib/python3.8/site-packages/mmcv/ops/deform_conv.py", line 127, in backward ext_module.deform_conv_backward_input( RuntimeError: shape '[1, 1, 2, 256, 3]' is invalid for input of size 4608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants