Update get_flops.py (#1371)
* Update get_flops.py argparse.ArgumentParser(description='Get the FLOPs of a segmentor') * Update get_flops.py
This commit is contained in:
parent
43a6c0d5d7
commit
08ee236106
@ -8,7 +8,8 @@ from mmseg.models import build_segmentor
|
||||
|
||||
|
||||
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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user