Convert hyperoptloss resolver to static loader

This commit is contained in:
Matthias
2019-12-23 10:09:08 +01:00
parent 248ef5a0ea
commit 6d5aca4f32
3 changed files with 22 additions and 20 deletions

View File

@@ -66,7 +66,7 @@ class Hyperopt:
self.custom_hyperopt = HyperOptResolver.load_hyperopt(self.config)
self.custom_hyperoptloss = HyperOptLossResolver(self.config).hyperoptloss
self.custom_hyperoptloss = HyperOptLossResolver.load_hyperoptloss(self.config)
self.calculate_loss = self.custom_hyperoptloss.hyperopt_loss_function
self.trials_file = (self.config['user_data_dir'] /