(self, argv=None)
| 19 | self.add_argument('--local_rank') |
| 20 | |
| 21 | def parse_args(self, argv=None): |
| 22 | args = super(ArgsParser, self).parse_args(argv) |
| 23 | assert args.config is not None, 'Please specify --config=configure_file_path.' |
| 24 | args.opt = self._parse_opt(args.opt) |
| 25 | return args |
| 26 | |
| 27 | def _parse_opt(self, opts): |
| 28 | config = {} |
no test coverage detected