diff --git a/contrib/HumanSeg/train.py b/contrib/HumanSeg/train.py index 65e66ae1dcd07f65b062744216ed6cbfc85cad40..01e3c7034d1602a434d99f94310e85fb7f902bbf 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',