You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error traceback
If applicable, paste the error traceback here.
File "/home/shinya7y/miniconda3/envs/mmd2110/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 124, in new_func
output = old_func(*new_args, **new_kwargs)
...
File "/home/shinya7y/work/mmdetection/mmdet/models/backbones/resnet.py", line 272, in _inner_forward
out = self.conv2(out)
File "/home/shinya7y/miniconda3/envs/mmd2110/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/shinya7y/miniconda3/envs/mmd2110/lib/python3.7/site-packages/mmcv/ops/deform_conv.py", line 355, in forward
self.dilation, self.groups, self.deform_groups)
File "/home/shinya7y/miniconda3/envs/mmd2110/lib/python3.7/site-packages/mmcv/ops/deform_conv.py", line 100, in forward
im2col_step=cur_im2col_step)
RuntimeError: expected scalar type Half but found Float
The text was updated successfully, but these errors were encountered:
Describe the Issue
MMCV 1.3.2 causes the RuntimeError for DCN with fp16 training.
Reproduction
Training with the following mmdet config reproduces the error.
faster_rcnn_r50_fpn_fp16_dconv_c3-c5_1x_coco.py
Environment
Error traceback
If applicable, paste the error traceback here.
The text was updated successfully, but these errors were encountered: