From 004f7dd0d27eac4107a0197a62b1e68fcdeefda0 Mon Sep 17 00:00:00 2001 From: LutaoChu <30695251+LutaoChu@users.noreply.github.com> Date: Mon, 18 May 2020 18:00:46 +0800 Subject: [PATCH] fix parameter use_vdl bug (#252) Co-authored-by: chenguowei01 --- contrib/HumanSeg/train.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/HumanSeg/train.py b/contrib/HumanSeg/train.py index 65e66ae1..01e3c703 100644 --- a/contrib/HumanSeg/train.py +++ b/contrib/HumanSeg/train.py @@ -84,8 +84,7 @@ def parse_args(): '--use_vdl', dest='use_vdl', help='Whether to use visualdl', - type=bool, - default=True) + action='store_true') parser.add_argument( '--save_interval_epochs', dest='save_interval_epochs', -- GitLab