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

Fix Z_Normalization #551

Merged
merged 4 commits into from
Nov 21, 2018
Merged

Fix Z_Normalization #551

merged 4 commits into from
Nov 21, 2018

Conversation

philip30
Copy link
Contributor

This is a very minor change to correct the policy gradient when calculating z_normalization. I think Rewards should be normalized not only per sequence but also per item in the minibatch. So, the number of items in a minibatch will really impact the learning behaviour of the policy gradient.

@philip30 philip30 merged commit 2f64d67 into master Nov 21, 2018
@philip30 philip30 deleted the fix_segmentation branch November 21, 2018 01:08
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

Successfully merging this pull request may close these issues.

1 participant