mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
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
17b500f9df
commit
a3aab38bb4
@ -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