mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Fix Python 2 bug in hyperopt example. (#575)
This commit is contained in:
parent
179416e8a2
commit
b62693ca67
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ if __name__ == "__main__":
|
|||
new_hyperparameters = previous_info["hyperparameters"]
|
||||
new_info = {"hyperparameters": new_hyperparameters,
|
||||
"total_num_steps": previous_info["total_num_steps"] + steps,
|
||||
"accuracies": previous_info["accuracies"].copy()}
|
||||
"accuracies": previous_info["accuracies"][:]}
|
||||
starting_weights = weights
|
||||
else:
|
||||
# If the experiment does not look promising, start a new experiment.
|
||||
|
|
Loading…
Add table
Reference in a new issue