From f31591cd197169d40169f7531a13635b17b061a3 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Mon, 20 Dec 2021 22:02:07 +0800 Subject: [PATCH] fix repeat save_res --- tools/infer_det.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/infer_det.py b/tools/infer_det.py index 1c679e0f..9d2daf13 100755 --- a/tools/infer_det.py +++ b/tools/infer_det.py @@ -126,9 +126,6 @@ def main(): otstr = file + "\t" + json.dumps(dt_boxes_json) + "\n" fout.write(otstr.encode()) - save_det_path = os.path.dirname(config['Global'][ - 'save_res_path']) + "/det_results/" - draw_det_res(boxes, config, src_img, file, save_det_path) logger.info("success!") -- GitLab