Skip to content
Snippets Groups Projects
Commit c5553785 authored by pangjm's avatar pangjm
Browse files

fix flake8

parent 02b43b3e
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,8 @@ def parse_args(): ...@@ -14,7 +14,8 @@ def parse_args():
parser = argparse.ArgumentParser(description='Train a detector') parser = argparse.ArgumentParser(description='Train a detector')
parser.add_argument('config', help='train config file path') 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('--work_dir', help='the dir to save logs and models')
parser.add_argument('--resume_from', help='the checkpoint file to resume from') parser.add_argument(
'--resume_from', help='the checkpoint file to resume from')
parser.add_argument( parser.add_argument(
'--validate', '--validate',
action='store_true', action='store_true',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment