Skip to content

Commit

Permalink
[Enhancement] delete redundant argparse config (#24)
Browse files Browse the repository at this point in the history
Del Argparse config arg
  • Loading branch information
yhna940 authored May 19, 2022
1 parent b0df641 commit 1b14247
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion mmtune/mm/tasks/mmdet.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def add_arguments(

if parser is None:
parser = argparse.ArgumentParser(description='Train a detector')
parser.add_argument('--config', help='train config file path')
parser.add_argument(
'--work-dir', help='the dir to save logs and models')
parser.add_argument(
Expand Down
1 change: 0 additions & 1 deletion mmtune/mm/tasks/mmseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def add_arguments(

if parser is None:
parser = argparse.ArgumentParser(description='Train a segmentor')
parser.add_argument('--config', help='train config file path')
parser.add_argument(
'--work-dir', help='the dir to save logs and models')
parser.add_argument(
Expand Down

0 comments on commit 1b14247

Please sign in to comment.