format
This commit is contained in:
parent
8383ae2f90
commit
5f50d01ae3
@ -56,10 +56,15 @@ def plot_det_curve(keywords, stats_dir, figure_file):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser(description='plot det curve')
|
parser = argparse.ArgumentParser(description='plot det curve')
|
||||||
parser.add_argument('--keywords', required=True,
|
parser.add_argument(
|
||||||
|
'--keywords',
|
||||||
|
required=True,
|
||||||
help='keywords, must in the same order as in "dict/words.txt" separated by ", "')
|
help='keywords, must in the same order as in "dict/words.txt" separated by ", "')
|
||||||
parser.add_argument('--stats_dir', required=True, help='dir of stats files')
|
parser.add_argument('--stats_dir', required=True, help='dir of stats files')
|
||||||
parser.add_argument('--figure_file', required=True, help='path to save det curve')
|
parser.add_argument(
|
||||||
|
'--figure_file',
|
||||||
|
required=True,
|
||||||
|
help='path to save det curve')
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user