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

Custom environment #219

Closed
Depresivna-ryza opened this issue Apr 29, 2024 · 1 comment
Closed

Custom environment #219

Depresivna-ryza opened this issue Apr 29, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Depresivna-ryza
Copy link

The tutorial for creating a custom environment describes how to add the environment. However, It doesn't mention how to start the RL algorithms on it. Is there some guideline I can follow to test my environment on various algorithms? Also, how can I use AlphaZero, since it assumes a perfect simulator inside its mcts ?

@puyuan1996 puyuan1996 added the documentation Improvements or additions to documentation label May 4, 2024
@puyuan1996
Copy link
Collaborator

puyuan1996 commented May 4, 2024

Hello, thank you for your patience.

Regarding how to test one environment on various algorithms, we have provided a brief instruction on setting up the config file here, hoping to be helpful to you.

Regarding the use of AlphaZero, indeed as you mentioned, it requires the environment to have a perfect simulator. Specifically, like the board game environment, it needs to have the capability to reset(state), you can refer to the implementation of the Gomoku environment. Therefore, if you want to apply AlphaZero to a custom environment, you need to ensure that your environment can implement this function. If the environment does not meet these conditions, you might not be able to use AlphaZero. As an alternative, you could consider using the MuZero algorithm, which conducts MCTS within the learned model. You can refer to the specific details in the MuZero research paper.

If you have other questions, please feel free to contact us. Thank you again for your attention and support!

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

No branches or pull requests

3 participants