MCPcopy Create free account
hub / github.com/FLC777/GLAT / cli_main

Function cli_main

fairseq_cli/validate.py:135–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133
134
135def cli_main():
136 parser = options.get_validation_parser()
137 args = options.parse_args_and_arch(parser)
138
139 # only override args that are explicitly given on the command line
140 override_parser = options.get_validation_parser()
141 override_args = options.parse_args_and_arch(
142 override_parser, suppress_defaults=True
143 )
144
145 distributed_utils.call_main(
146 convert_namespace_to_omegaconf(args), main, override_args=override_args
147 )
148
149
150if __name__ == "__main__":

Callers 1

validate.pyFile · 0.70

Calls 1

Tested by

no test coverage detected