-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Prioritized Experience Replay for DQN #1242
Comments
It's planned, contributions are welcome 🙂 |
See #622 |
@araffin @qgallouedec |
We are welcoming contributions =) |
Hi @araffin - just looking at this. How would you go about it in relation to the vectorised replay buffer that SB3 uses: have one segment tree hold priorities across all envs or have a segment tree per environment? I had a cursory look at how Tianshou does it and it appears to be a segment tree per environment (at least at first glance). |
not sure, I need to take a deeper look, but probably once for all if possible or whatever is cleaner/fast enough. |
I think it might matter depending on replacement strategy. Do you override the latest observation or the one with lowest priority? |
Hello @araffin, |
@AlexPasqua even though I think it's very important, I'm unfortunately busy integrating Minari to CORL at the moment, so I'm unlikely to find the time to do it. But I'm glad if my implementation will be useful! |
Alright, no problem, I'll do it myself :) |
🚀 Feature
Prioritized Experience Replay for DQN
Motivation
No response
Pitch
No response
Alternatives
No response
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: