From 9919cb71d18abe7c7f31caf1a6e540072cfc621c Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Sun, 9 Oct 2022 10:10:05 +0800 Subject: [PATCH] delete debug --- tools/infer/predict_det.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 08441d05..98116afd 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -268,7 +268,7 @@ class TextDetector(object): post_result = self.postprocess_op(preds, shape_list) dt_boxes = post_result[0]['points'] - print("det_boxes", dt_boxes) + if (self.det_algorithm == "SAST" and self.det_sast_polygon) or ( self.det_algorithm in ["PSE", "FCE", "CT"] and self.postprocess_op.box_type == 'poly'): -- GitLab