Skip to content

Commit

Permalink
enough thinking time (PaddlePaddle#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongsheng Zeng authored Jun 6, 2020
1 parent 0c8c116 commit 4a19c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/torch/AlphaZero/submission_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,5 +555,5 @@ def alphazero_agent(obs, config):
x = game.getCanonicalForm(board, player)

action = np.argmax(
mcts.getActionProb(x, temp=0, timelimit=config.timeout - 0.1))
mcts.getActionProb(x, temp=0, timelimit=config.timeout - 0.5))
return int(action)

0 comments on commit 4a19c7b

Please sign in to comment.