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
https://github.com/cyoon1729/Reinforcement-learning/blob/d157d0d86c37734be4b430b7d311eb9bb0379d93/Policy-Gradient-Methods/a2c/a2c.py#L42
Sir, can you please explain why value_targets = rewards + discounted_rewards ? Why do you need to add rewards and discounted rewards together ?
value_targets = rewards + discounted_rewards
The text was updated successfully, but these errors were encountered:
That was a mistake on my part, sorry for the late reply. I have fixed those changes in the recent refactoring!
Sorry, something went wrong.
No branches or pull requests
https://github.com/cyoon1729/Reinforcement-learning/blob/d157d0d86c37734be4b430b7d311eb9bb0379d93/Policy-Gradient-Methods/a2c/a2c.py#L42
Sir, can you please explain why
value_targets = rewards + discounted_rewards
?Why do you need to add rewards and discounted rewards together ?
The text was updated successfully, but these errors were encountered: