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
File "/mmdetection-main/mmdet/models/dense_heads/anchor_head.py", line 505, in loss_by_feat
cls_reg_targets = self.get_targets(
File "/mmdetection-main/mmdet/models/dense_heads/anchor_head.py", line 381, in get_targets
results = multi_apply(
File "/mmdetection-main/mmdet/models/utils/misc.py", line 219, in multi_apply
return tuple(map(list, zip(*map_results)))
File "/mmdetection-main/mmdet/models/dense_heads/anchor_head.py", line 286, in _get_targets_single
bbox_weights[pos_inds, :] = 1.0
RuntimeError: linearIndex.numel()*sliceSize*nElemBefore == expandedValue.numel() INTERNAL ASSERT FAILED at "../aten/src/ATen/native/cuda/Indexing.cu":389, please report a bug to PyTorch. number of flattened indices did not match number of elements in the value tensor: 12 vs 3
When I train Faster-rcnn with the following setting in config file:
I get the following error:
and I try to change
in anchor_head.py to
the error disappears. Is this related to the randomness?
Also, I remove the deterministic=True as:
the error also disappears.
The text was updated successfully, but these errors were encountered: