Open chenneng opened 3 years ago
File "/home//SipMask/SipMask-mmdetection/tools/../mmdet/models/anchor_heads/sipmask_head.py", line 486, in loss loss_iou = loss_iou * 10 / num_iou.detach() AttributeError: 'float' object has no attribute 'detach'
You can remove detach.
File "/home//SipMask/SipMask-mmdetection/tools/../mmdet/models/anchor_heads/sipmask_head.py", line 486, in loss loss_iou = loss_iou * 10 / num_iou.detach() AttributeError: 'float' object has no attribute 'detach'