From f52c63bf9f4c5dcbc9352e3f1bcf527ffd1c61ef Mon Sep 17 00:00:00 2001 From: shangliang Xu Date: Mon, 29 Aug 2022 14:18:33 +0800 Subject: [PATCH] [cherry-pick] fix params save_images (#6779) --- deploy/python/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/python/utils.py b/deploy/python/utils.py index 63831412c..c52ac184c 100644 --- a/deploy/python/utils.py +++ b/deploy/python/utils.py @@ -108,8 +108,8 @@ def argsparser(): "calibration, trt_calib_mode need to set True.") parser.add_argument( '--save_images', - action='store_true', - default=False, + type=bool, + default=True, help='Save visualization image results.') parser.add_argument( '--save_mot_txts', -- GitLab