()
| 133 | |
| 134 | |
| 135 | def 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 | |
| 150 | if __name__ == "__main__": |
no test coverage detected