From 0f7f96fcdd95cfded9e0c307ba66174af0d0b67d Mon Sep 17 00:00:00 2001 From: fengzongbao Date: Tue, 7 Sep 2021 14:42:48 +0800 Subject: [PATCH 1/3] visuliaztion typos --- demo/mono_det_demo.py | 4 ++-- demo/multi_modality_demo.py | 4 ++-- demo/pc_seg_demo.py | 4 ++-- demo/pcd_demo.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demo/mono_det_demo.py b/demo/mono_det_demo.py index 3b043a310b..ed12a7dc7c 100644 --- a/demo/mono_det_demo.py +++ b/demo/mono_det_demo.py @@ -18,11 +18,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visuliaztion results') + '--show', action='store_true', help='show online visulization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visuliaztion results') + help='whether to save online visulization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/multi_modality_demo.py b/demo/multi_modality_demo.py index 67c509b927..1f9a7cfc93 100644 --- a/demo/multi_modality_demo.py +++ b/demo/multi_modality_demo.py @@ -19,11 +19,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visuliaztion results') + '--show', action='store_true', help='show online visulization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visuliaztion results') + help='whether to save online visulization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/pc_seg_demo.py b/demo/pc_seg_demo.py index b8ee0c429f..b315bd74e7 100644 --- a/demo/pc_seg_demo.py +++ b/demo/pc_seg_demo.py @@ -14,11 +14,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visuliaztion results') + '--show', action='store_true', help='show online visulization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visuliaztion results') + help='whether to save online visulization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/pcd_demo.py b/demo/pcd_demo.py index 253ba35c8c..d350ec2177 100644 --- a/demo/pcd_demo.py +++ b/demo/pcd_demo.py @@ -16,11 +16,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visuliaztion results') + '--show', action='store_true', help='show online visulization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visuliaztion results') + help='whether to save online visulization results') args = parser.parse_args() # build the model from a config file and a checkpoint file From 83e7eb728b17ffcced2897fce93915ec94457821 Mon Sep 17 00:00:00 2001 From: fengzongbao Date: Tue, 7 Sep 2021 17:14:48 +0800 Subject: [PATCH 2/3] fix to visualization --- demo/mono_det_demo.py | 4 ++-- demo/multi_modality_demo.py | 4 ++-- demo/pc_seg_demo.py | 4 ++-- demo/pcd_demo.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demo/mono_det_demo.py b/demo/mono_det_demo.py index ed12a7dc7c..971384815d 100644 --- a/demo/mono_det_demo.py +++ b/demo/mono_det_demo.py @@ -18,11 +18,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visulization results') + '--show', action='store_true', help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visulization results') + help='whether to save online visualization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/multi_modality_demo.py b/demo/multi_modality_demo.py index 1f9a7cfc93..0edc520f71 100644 --- a/demo/multi_modality_demo.py +++ b/demo/multi_modality_demo.py @@ -19,11 +19,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visulization results') + '--show', action='store_true', help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visulization results') + help='whether to save online visualization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/pc_seg_demo.py b/demo/pc_seg_demo.py index b315bd74e7..9beedf59a1 100644 --- a/demo/pc_seg_demo.py +++ b/demo/pc_seg_demo.py @@ -14,11 +14,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visulization results') + '--show', action='store_true', help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visulization results') + help='whether to save online visualization results') args = parser.parse_args() # build the model from a config file and a checkpoint file diff --git a/demo/pcd_demo.py b/demo/pcd_demo.py index d350ec2177..4d2bd94423 100644 --- a/demo/pcd_demo.py +++ b/demo/pcd_demo.py @@ -16,11 +16,11 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visulization results') + '--show', action='store_true', help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', - help='whether to save online visulization results') + help='whether to save online visualization results') args = parser.parse_args() # build the model from a config file and a checkpoint file From bdf355ba93b1a662ff71d3bf16a3156a5ca0ffbf Mon Sep 17 00:00:00 2001 From: fengzongbao Date: Tue, 7 Sep 2021 18:07:20 +0800 Subject: [PATCH 3/3] fixed lint errors by pre-commit --- demo/mono_det_demo.py | 4 +++- demo/multi_modality_demo.py | 4 +++- demo/pc_seg_demo.py | 4 +++- demo/pcd_demo.py | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/demo/mono_det_demo.py b/demo/mono_det_demo.py index 971384815d..c2bd502e6a 100644 --- a/demo/mono_det_demo.py +++ b/demo/mono_det_demo.py @@ -18,7 +18,9 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visualization results') + '--show', + action='store_true', + help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', diff --git a/demo/multi_modality_demo.py b/demo/multi_modality_demo.py index 0edc520f71..9ef1969781 100644 --- a/demo/multi_modality_demo.py +++ b/demo/multi_modality_demo.py @@ -19,7 +19,9 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visualization results') + '--show', + action='store_true', + help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', diff --git a/demo/pc_seg_demo.py b/demo/pc_seg_demo.py index 9beedf59a1..c80c3f4aa1 100644 --- a/demo/pc_seg_demo.py +++ b/demo/pc_seg_demo.py @@ -14,7 +14,9 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visualization results') + '--show', + action='store_true', + help='show online visualization results') parser.add_argument( '--snapshot', action='store_true', diff --git a/demo/pcd_demo.py b/demo/pcd_demo.py index 4d2bd94423..5822714ec3 100644 --- a/demo/pcd_demo.py +++ b/demo/pcd_demo.py @@ -16,7 +16,9 @@ def main(): parser.add_argument( '--out-dir', type=str, default='demo', help='dir to save results') parser.add_argument( - '--show', action='store_true', help='show online visualization results') + '--show', + action='store_true', + help='show online visualization results') parser.add_argument( '--snapshot', action='store_true',