Don't load parameters for other space

This commit is contained in:
Matthias 2021-04-25 15:33:03 +02:00
parent 401f31e86b
commit e050ea8dfa
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class HyperStrategyMixin(object):
if not params:
logger.info(f"No params for {space} found, using default values.")
for attr_name, attr in self.enumerate_parameters():
for attr_name, attr in self.enumerate_parameters(space):
attr.hyperopt = hyperopt
if params and attr_name in params:
if attr.load: