We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Found a bug in epsilon_greedy() in policy_ops.py when applying legal_actions_mask. It fails when masking the action with the highest action value.
epsilon_greedy()
policy_ops.py
legal_actions_mask
For example:
action_values = [2.0, 1.0, 1.0] legal_actions_mask = [0., 1., 1.] epsilon = 0.1 result = policy_ops.epsilon_greedy(action_values, epsilon, legal_actions_mask).probs
Outputs: [0.9 0.05 0.05]
[0.9 0.05 0.05]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Found a bug in
epsilon_greedy()
inpolicy_ops.py
when applyinglegal_actions_mask
. It fails when masking the action with the highest action value.For example:
Outputs:
[0.9 0.05 0.05]
The text was updated successfully, but these errors were encountered: