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

Add PER #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

Ashutosh-Adhikari
Copy link

Hi,

The reference code for PER additions : https://github.com/Kaixhin/Rainbow.git.

It is segment tree based implementation of PER.

@hengyuan-hu
Copy link
Owner

Quick questions. Prioritized experience replay is a just sampling method. It should only affect the way we sample from replay buffer. Why changing the loss function to be a weighted one? Have you tested the performance?

@Ashutosh-Adhikari
Copy link
Author

Please have a look at the Line 13 of the algorithm described in PER paper. I had only checked for Breakout. Gave a slight performance improvement over DQN. Please have a look at Kaixhin/Rainbow#15 and let me know.

@Ashutosh-Adhikari
Copy link
Author

Hi,
Did you get time to check the code through tests?
:)

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.

None yet

2 participants