I looked at the documentation on using masking actions but did not understand.
My custom environment has 6 actions. But I would like to mask / disable certain actions based on the current state.
The example I see just says:
env = InvalidActionEnvDiscrete(dim=80, n_invalid_actions=60)
But how do I exactly check the current state and specify invalid actions for that state?
I looked at the documentation on using masking actions but did not understand. My custom environment has 6 actions. But I would like to mask / disable certain actions based on the current state.
The example I see just says: env = InvalidActionEnvDiscrete(dim=80, n_invalid_actions=60)
But how do I exactly check the current state and specify invalid actions for that state?