From abc469f0efc32e3d389938033ff8076061e9f227 Mon Sep 17 00:00:00 2001 From: "552068321@qq.com" Date: Tue, 8 Nov 2022 14:04:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/yolov5/detect_server.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/yolov5/detect_server.py b/app/yolov5/detect_server.py index 68c7c79..16b03ec 100644 --- a/app/yolov5/detect_server.py +++ b/app/yolov5/detect_server.py @@ -224,6 +224,10 @@ def run(id, # 原始图像路径/结果图像路径 传参 #online_img_tools.get_res_img(res_path=save_path, img_path=path, proj_no=pro) + print('数量:',count) + print('总量:',len(os.listdir(source))) + print('path:',path) + print('path:', str(save_path)) report_cellback(count,len(os.listdir(source)),path,str(save_path)) # Print time (inference-only) LOGGER.info(f"{s}{'' if len(det) else '(no detections), '}{dt[1].dt * 1E3:.1f}ms")