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

Replay Buffer Deletion: Random #41

Open
Electro707 opened this issue Apr 10, 2022 · 0 comments
Open

Replay Buffer Deletion: Random #41

Electro707 opened this issue Apr 10, 2022 · 0 comments

Comments

@Electro707
Copy link

In the replay buffer class, when the buffer is full a random sample is deleted:

self.storage.pop(random.randrange(len(self.storage)))

Which goes against DDPG's paper, where

When the replay buffer was full the oldest samples were discarded.

Source: https://arxiv.org/pdf/1509.02971.pdf

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

No branches or pull requests

1 participant