This commit is contained in:
Anonymous-submission-repo 2022-10-18 14:48:04 +00:00
parent 8bad7e7ea5
commit 2f8f8ba9d8
3 changed files with 4 additions and 4 deletions

View File

@ -195,8 +195,8 @@ class BlendSearch(Searcher):
max_resource,
reduction_factor,
self.cost_attr,
self.lexico_objectives,
seed,
self.lexico_objectives,
)
if global_search_alg is not None:
self._gs = global_search_alg
@ -1068,8 +1068,8 @@ class BlendSearchTuner(BlendSearch, NNITuner):
self._ls.max_resource,
self._ls.resource_multiple_factor,
cost_attr=self.cost_attr,
lexico_objectives=self.lexico_objectives,
seed=self._ls.seed,
lexico_objectives=self.lexico_objectives,
)
if self._gs is not None:
self._gs = GlobalSearch(

View File

@ -298,8 +298,8 @@ class FLOW2(Searcher):
self.max_resource,
self.resource_multiple_factor,
self.cost_attr,
self.lexico_objectives,
self.seed + 1,
self.lexico_objectives,
)
if self.lexico_objectives is not None:
flow2.best_obj = {}

View File

@ -533,7 +533,7 @@ lexico_objectives["tolerances"] = {"val_loss": 0.02, "pred_time": 0.0}
lexico_objectives["targets"] = {"val_loss": -float('inf'), "pred_time": -float('inf')}
# provide the lexico_objectives to tune.run
tune.run(..., search_alg=None, lexico_objectives=lexico_objectives, ...)
tune.run(..., search_alg=None, lexico_objectives=lexico_objectives)
```
NOTE: