From 74c0dab3d275f1d628f679337f53998aa89f1044 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) --- PaddleCV/PaddleDetection/ppdet/utils/coco_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaddleCV/PaddleDetection/ppdet/utils/coco_eval.py b/PaddleCV/PaddleDetection/ppdet/utils/coco_eval.py index c2c8597b..f71f38ff 100644 --- a/PaddleCV/PaddleDetection/ppdet/utils/coco_eval.py +++ b/PaddleCV/PaddleDetection/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