-
Notifications
You must be signed in to change notification settings - Fork 720
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 constraints in PPO #320
Comments
For an environment that has discrete actions you could do a similar pattern. In the case of continuous actions it gets a bit more tricky, you could use truncated normals for the distribution for example. |
#216 - for continuous actions |
i have a discrete pattern case. but i was wondering about the technical part, meaning is there a feature that implements the |
Hello @niklasnolte, I want to train my PPO agent on an custom environment with discrete action space, while its performance will be compared with DQN agent. Have you figured out how to apply action constraints on PPO agent? Thanks a lot! edit: For anyone who encountered the same problem, I found a possible solution in #452. |
Hi, what is the best way to implement action constraints in a PPOAgent?
For a
QPolicy
i can useobservation_and_action_constraint_splitter
. Is there something equivalent for ppo policies?The text was updated successfully, but these errors were encountered: