agents icon indicating copy to clipboard operation
agents copied to clipboard

tf_agents.replay_buffers memory allocation

Open soonjune opened this issue 4 years ago • 0 comments

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

soonjune avatar Nov 29 '22 12:11 soonjune