Skip to content

Commit

Permalink
Added parallel training to alpha zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skirlax committed Aug 13, 2024
1 parent 7b5a898 commit 1547f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mu_alpha_zero/AlphaZero/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_function_from_value(value, trial: optuna.Trial):
if type(value[1]) == list:
return trial.suggest_categorical(value[0], value[1])

def objective(trial: optuna.Trial):
def objective(trial: optuna.Trial,az,config):
for value in target_values:
setattr(config, value[0], get_function_from_value(value, trial))

Expand Down

0 comments on commit 1547f64

Please sign in to comment.