From b883abea603da0ba3776c3ed61063f8267750735 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Wed, 11 May 2022 17:13:01 +0800 Subject: [PATCH] Update log setting Signed-off-by: shiyu22 --- yolov5.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yolov5.py b/yolov5.py index b7cbb0f..7f81a0d 100644 --- a/yolov5.py +++ b/yolov5.py @@ -5,6 +5,7 @@ import logging from towhee import register from towhee.operator import NNOperator +logging.basicConfig() logging.getLogger("yolov5").setLevel(logging.WARNING) logging.getLogger().setLevel(logging.WARNING)