add --hyperopt-path option

This commit is contained in:
hroff-1902
2019-07-22 19:37:34 +03:00
parent 41f24898e5
commit 04382d4b44
4 changed files with 18 additions and 6 deletions

View File

@@ -129,8 +129,8 @@ class Configuration(object):
if self.args.strategy != constants.DEFAULT_STRATEGY or not config.get('strategy'):
config.update({'strategy': self.args.strategy})
if self.args.strategy_path:
config.update({'strategy_path': self.args.strategy_path})
self._args_to_config(config, argname='strategy_path',
logstring='Using additional Strategy lookup path: {}')
def _process_common_options(self, config: Dict[str, Any]) -> None:
@@ -239,6 +239,9 @@ class Configuration(object):
self._args_to_config(config, argname='hyperopt',
logstring='Using Hyperopt file {}')
self._args_to_config(config, argname='hyperopt_path',
logstring='Using additional Hyperopt lookup path: {}')
self._args_to_config(config, argname='epochs',
logstring='Parameter --epochs detected ... '
'Will run Hyperopt with for {} epochs ...'