Rename variable
This commit is contained in:
parent
816c1f7603
commit
982c0315fa
@ -586,10 +586,9 @@ class Hyperopt:
|
|||||||
# First analysis not in parallel mode when using --analyze-per-epoch.
|
# First analysis not in parallel mode when using --analyze-per-epoch.
|
||||||
# This allows dataprovider to load it's informative cache.
|
# This allows dataprovider to load it's informative cache.
|
||||||
asked, is_random = self.get_asked_points(n_points=1)
|
asked, is_random = self.get_asked_points(n_points=1)
|
||||||
# print(asked)
|
f_val0 = self.generate_optimizer(asked[0])
|
||||||
f_val = self.generate_optimizer(asked[0])
|
self.opt.tell(asked, [f_val0['loss']])
|
||||||
self.opt.tell(asked, [f_val['loss']])
|
self.evaluate_result(f_val0, 1, is_random[0])
|
||||||
self.evaluate_result(f_val, 1, is_random[0])
|
|
||||||
pbar.update(1)
|
pbar.update(1)
|
||||||
start += 1
|
start += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user