刚安装完AugFPN,训练时出现错误
File “/data/data/ysc_data/project/Pedestron/mmdet/core/anchor/anchor_target.py”, line 176, in anchor_inside_flags
(flat_anchors[:, 2] < img_w + allowed_border) &
RuntimeError: Expected object of scalar type Byte but got scalar type Bool for argument #2 ‘other’ in call to _th_and
转载:https://github.com/open-mmlab/mmdetection/issues/3587
将对应的mmdet/core/anchor/anchor_target.py中
改为