Don't load parameters for other space
This commit is contained in:
parent
401f31e86b
commit
e050ea8dfa
@ -284,7 +284,7 @@ class HyperStrategyMixin(object):
|
|||||||
if not params:
|
if not params:
|
||||||
logger.info(f"No params for {space} found, using default values.")
|
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
|
attr.hyperopt = hyperopt
|
||||||
if params and attr_name in params:
|
if params and attr_name in params:
|
||||||
if attr.load:
|
if attr.load:
|
||||||
|
Loading…
Reference in New Issue
Block a user