未验证 提交 c5c91cee 编写于 作者: W wangguanzhong 提交者: GitHub

fix cascade infer (#1877)

上级 a1446709
......@@ -165,5 +165,5 @@ class CascadeRCNN(BaseArch):
'bbox_num': bbox_num,
}
if self.with_mask:
output.update(self.mask_head_out)
output.update({'mask': self.mask_head_out})
return output
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册