-
Notifications
You must be signed in to change notification settings - Fork 174
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
Pickling issues #704
Comments
You cannot pickle entire Crocoddyl data. However you could pickle some data, e.g. Pinocchio data, NumPy, etc. Unfortunately I don't have time now for adding this feature. |
I would like to take this thread to discuss which classes / structures should be pickleable. I was thinking in this set of classes / structures:
What do you think? @proyan @gfadini @jcarpent @wxmerkt This also requires a lot of work. I notice that there is a light alternative that will be faster to deploy but we need to inject a |
@cmastalli You should take inspiration from https://github.com/stack-of-tasks/pinocchio which is using the serialization for the pickling of large data structure, which is in the end much more efficient and allows to export in C++ too. |
The solver should not be pickable at first glance. Only data and model in the first place. |
I reviewed again this code, and I have two questions.
Ideally I would like to reuse this code for pickling action models and datas, however, it seems to me that it is not possible. I mean, I need to set some private states using For me, the serialization mechanism is a bit obscure. |
Hello,
can crocoddyl be pickled yet? I rember that @cmastalli said that there were issues with eigen for that, but maybe I'm mistaken and that is not the case anymore .
I have a runtime error related to this using multiprocessing, it would be great if it could be fixed/was supported.
The text was updated successfully, but these errors were encountered: