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
Hey,
I wanted to ask about calculation in sample function.
sample
return tf.argmax(tf.log(u) / probs, axis=1)
it divides from probs. Does that mean that lower probabilities have better chances to get picked? Better exploration???
probs
The text was updated successfully, but these errors were encountered:
log(u) makes it negative. So everything is fine. But probs can be equal to 0, no?
0
Sorry, something went wrong.
@Robotuks I think I ensure probs are never actually 0 somewhere (it's kind of a hack, but hey it works)
No branches or pull requests
Hey,
I wanted to ask about calculation in
sample
function.return tf.argmax(tf.log(u) / probs, axis=1)
it divides from
probs
. Does that mean that lower probabilities have better chances to get picked? Better exploration???The text was updated successfully, but these errors were encountered: