MCPcopy Create free account
hub / github.com/ASLP-lab/OSUM / parse_args

Function parse_args

OSUM/tools/compute-acc.py:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import os
7
8def parse_args():
9 parser = argparse.ArgumentParser(description='Compute accuracy')
10 parser.add_argument('--ref_path', type=str, default='config.yaml', help='config file path')
11 parser.add_argument('--hyp_path', type=str, default='model.pth', help='model file path')
12 parser.add_argument('--output_path', type=str, default='data', help='data file path')
13
14 args = parser.parse_args()
15 return args
16
17def do_get_first_tag_from_str(input_str, upper=True):
18 """

Callers 1

compute-acc.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected