See the problem I raised in https://github.com/baggepinnen/Hyperopt.jl/pull/77 The same bug seems to be present in line 60 of https://github.com/automl/HpBandSter/blob/master/hpbandster/optimizers/hyperband.py.