Get the base experiment config from --experiment field.
(self)
| 323 | return params |
| 324 | |
| 325 | def base_experiment(self): |
| 326 | """Get the base experiment config from --experiment field.""" |
| 327 | if self._flags_obj.experiment is None: |
| 328 | raise ValueError('The flag --experiment must be specified.') |
| 329 | return exp_factory.get_exp_config(self._flags_obj.experiment) |
| 330 | |
| 331 | def parse_config_file(self, params): |
| 332 | """Override the configs of params from the config_file.""" |