Save/restore compressed transitions #10
Replies: 2 comments 11 replies
-
@keiohta Thank you for your request! We might reduce data size by saving internal data structure directly, as long as user enables However, saving internal data structure has problem of version compatibility. Anyway, I need some investigation. |
Beta Was this translation helpful? Give feedback.
-
Save and load transitions are introduced at cpprb v10.1.0 Please see document. |
Beta Was this translation helpful? Give feedback.
-
I'd like to request a feature that enables users to save and restore stored transitions with as small data size as possible.
The current implementation does allow users to do that as:
, but this can be improved.
For example, in most cases
samples["states"]
andsamples["next_states"]
considerably overlaps except the last state, and since the state occupies the most part of the stored data (imagine Atari games whose input is 84x84x4 and output is scalar value), so just removing the overlapped state enables to reduce almost half of total data size.There should be more sophisticated ways to enable that, so let's discuss in this thread.
Beta Was this translation helpful? Give feedback.
All reactions