Skip to content

Commit

Permalink
Update get_flops.py (open-mmlab#1371)
Browse files Browse the repository at this point in the history
* Update get_flops.py

argparse.ArgumentParser(description='Get the FLOPs of a segmentor')

* Update get_flops.py
  • Loading branch information
kinglintianxia authored Mar 14, 2022
1 parent 42df28c commit 912d109
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/get_flops.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@


def parse_args():
parser = argparse.ArgumentParser(description='Train a segmentor')
parser = argparse.ArgumentParser(
description='Get the FLOPs of a segmentor')
parser.add_argument('config', help='train config file path')
parser.add_argument(
'--shape',
Expand Down

0 comments on commit 912d109

Please sign in to comment.