From 39ac3e6c34dea7a6070861a7ee6b69f88f1b3df3 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Wed, 11 May 2022 17:36:31 +0800 Subject: [PATCH] Update log setting Signed-off-by: shiyu22 --- yolov5.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yolov5.py b/yolov5.py index 768a912..81daa88 100644 --- a/yolov5.py +++ b/yolov5.py @@ -5,10 +5,9 @@ import logging from towhee import register from towhee.operator import NNOperator -logging.basicConfig() +logging.basicConfig(level=logging.WARNING) logging.getLogger().setLevel(logging.WARNING) logging.getLogger("yolov5").setLevel(logging.WARNING) -# logging.getLogger("towhee.engine").setLevel(logging.WARNING) @register(output_schema=['boxes', 'classes', 'scores']) class Yolov5(NNOperator):