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

Action masking (feature request) #77

Open
zengmao opened this issue Jan 13, 2025 · 0 comments
Open

Action masking (feature request) #77

zengmao opened this issue Jan 13, 2025 · 0 comments

Comments

@zengmao
Copy link

zengmao commented Jan 13, 2025

For example, consider a 2D maze environment. The state is the grid coordinates, and the actions are moving left, right, up or down, but the only valid actions are those that do not cross the wall in the maze. It would be nice if the user could specify which actions are valid. The invalid actions are "masked" and ignored by the NNPolicy action selection.

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