How to set breakpoint in TF uniform replay buffer? #718
-
Hello,
What I need to do is to manually write into a replay buffer, frame by frame. Each frame is an instance of I wonder whether there exists something serving as a breakpoint in TFUniformReplayBuffer to seperate each episode in a block? So that when I read data from the replay buffer with Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no good way to separate episodes in TFUniformReplaybuffer I would recommend switching to the ReverbReplayBuffer that handles episodes well. See example usage https://github.com/tensorflow/agents/blob/master/tf_agents/examples/sac/haarnoja18/sac_train_eval.py |
Beta Was this translation helpful? Give feedback.
There is no good way to separate episodes in TFUniformReplaybuffer I would recommend switching to the ReverbReplayBuffer that handles episodes well.
See example usage https://github.com/tensorflow/agents/blob/master/tf_agents/examples/sac/haarnoja18/sac_train_eval.py