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

fix mask_rcnn architecture (#1765)

上级 7a4275b6
......@@ -133,7 +133,7 @@ class MaskRCNN(BaseArch):
loss.update({'loss': total_loss})
return loss
def get_pred(self, ):
def get_pred(self, return_numpy=True):
mask = self.mask_post_process(self.bboxes, self.mask_head_out,
self.inputs['im_shape'],
self.inputs['scale_factor'])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册