提交 3dd4f349 编写于 作者: W wangguanzhong 提交者: GitHub

fix typo in coco eval (#2890)

上级 ead5e330
......@@ -82,7 +82,7 @@ def mask_eval(results, anno_file, outfile, resolution, thresh_binarize=0.5):
segm_results = mask2out(results, clsid2catid, resolution, thresh_binarize)
assert len(
segms_results) > 0, "The number of valid mask detected is zero.\n \
segm_results) > 0, "The number of valid mask detected is zero.\n \
Please use reasonable model and check input data."
with open(outfile, 'w') as f:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册