From 3dd4f349e24ead198f1459351be89c8fda116fa0 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Mon, 22 Jul 2019 20:17:05 +0800 Subject: [PATCH] fix typo in coco eval (#2890) --- ppdet/utils/coco_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppdet/utils/coco_eval.py b/ppdet/utils/coco_eval.py index c2c8597ba..f71f38ff4 100644 --- a/ppdet/utils/coco_eval.py +++ b/ppdet/utils/coco_eval.py @@ -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: -- GitLab