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

tf_agents.replay_buffers memory allocation #800

Open
soonjune opened this issue Nov 29, 2022 · 0 comments
Open

tf_agents.replay_buffers memory allocation #800

soonjune opened this issue Nov 29, 2022 · 0 comments

Comments

@soonjune
Copy link

I've noticed that replay_buffers pre-allocates memory according to its max_length. In RL, max_length is usually set to a large number (1 million) which could result in unwanted situations where replay buffer takes up the memory too much. I think it would be worth it to mention it on the documentation. https://www.tensorflow.org/agents/api_docs/python/tf_agents/replay_buffers/replay_buffer/ReplayBuffer

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