MCPcopy
hub / github.com/andabi/deep-voice-conversion / get_arguments

Function get_arguments

train1.py:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def get_arguments():
64 parser = argparse.ArgumentParser()
65 parser.add_argument('case', type=str, help='experiment case name')
66 parser.add_argument('-ckpt', help='checkpoint to load model.')
67 parser.add_argument('-gpu', help='comma separated list of GPU(s) to use.')
68 arguments = parser.parse_args()
69 return arguments
70
71if __name__ == '__main__':
72 args = get_arguments()

Callers 1

train1.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected