-
Notifications
You must be signed in to change notification settings - Fork 48
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
Requesting information about recording #14
Comments
Is there really no more efficient way than saving everything every frame? |
Well, if you wanted to optimize, you could only save the values which changed since last frame. That would reduce the file size, but Vedal would need an unpacking script on his end to get back to original data for training. |
https://msgpack.org/MessagePack could be a good open alternative to JSON. It has implementation in a stupidly wide amount of languages including Python and C#. In addition to that, we could implement a button or something to automatically pack many sessions into a single GZip file to further reduce file sizes. Here is a C# implementation that advertises Unity and seems is still being maintained: https://github.com/neuecc/MessagePack-CSharp
Otherwise we could just use BSON, which in theory would be slightly larger than MsgPack. Seeing as we know our specific types work in MsgPack, as long as we don't have more than |
The website link is dead now, seems to have moved here: https://msgpack.org/ |
The Recorder class takes the current game state and serializes it. How do you plan on using the information obtained from it? (I assume for training?)
It would be useful to know the purpose of this class, as well as the design process behind it, so we can maybe add more fields to the frame if they are relevant.
The text was updated successfully, but these errors were encountered: