Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visit count initialization for the leaf node #326

Open
eijoac opened this issue Nov 20, 2024 · 0 comments
Open

visit count initialization for the leaf node #326

eijoac opened this issue Nov 20, 2024 · 0 comments

Comments

@eijoac
Copy link

eijoac commented Nov 20, 2024

In the search() method of the MCTS class, when a leaf node is reached, after the expansion, action prior probability and leaf state value initialization from the NN, shouldn't we set the leaf node visit count (self.Ns[s]) to 1 instead of 0 (line 101 in the MCTS.py here). This visit count isn't incremented during the backpropagation later, so I think it should be set to 1 at initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant