-
Is there a way to slice and get a portion of the replay buffer starting at a specific index? Ideally, something like rb = ReplayBuffer(...)
rb[100:200] There is |
Beta Was this translation helpful? Give feedback.
Answered by
ymd-h
Jul 26, 2023
Replies: 1 comment
-
Thank you for your feedback. There is a private but almost stable method cpprb/cpprb/PyReplayBuffer.pyx Line 1321 in 3b791b5 You can pass list of indices. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
smorad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@smorad
Thank you for your feedback.
There is a private but almost stable method
ReplayBuffer._encode_sample(indices)
cpprb/cpprb/PyReplayBuffer.pyx
Line 1321 in 3b791b5
You can pass list of indices.