mirror of
https://github.com/clearml/clearml
synced 2025-02-12 07:35:08 +00:00
Fix HPO crash when its corresponding task is initialized with continue_last_task=True
This commit is contained in:
parent
0806902f8e
commit
39652cac94
@ -1947,7 +1947,7 @@ class HyperParameterOptimizer(object):
|
|||||||
objective if objective is not None else (
|
objective if objective is not None else (
|
||||||
[-1] * self._objective_metric.len
|
[-1] * self._objective_metric.len
|
||||||
),
|
),
|
||||||
iteration_value if iteration_value is not None else (
|
[iteration_value] * self._objective_metric.len if iteration_value is not None else (
|
||||||
[-1] * self._objective_metric.len
|
[-1] * self._objective_metric.len
|
||||||
),
|
),
|
||||||
params
|
params
|
||||||
|
Loading…
Reference in New Issue
Block a user