You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to dump a model using pickle, I get the following error: RuntimeError: Pickling of "pinocchio.libpinocchio_pywrap.Model" instances is not enabled (http://www.boost.org/libs/python/doc/v2/pickle.html)
Here is a short snippet to reproduce the error:
import pickle as pkl
import pinocchio as pin
model = pin.Model()
pkl.dump(model, open('model.pkl', 'wb'))
Would it be possible to include this feature ?
Thanks,
Robin
The text was updated successfully, but these errors were encountered:
rstrudel
changed the title
Make models picklable
Support model pickling
Nov 15, 2019
Hi,
When I try to dump a model using pickle, I get the following error:
RuntimeError: Pickling of "pinocchio.libpinocchio_pywrap.Model" instances is not enabled (http://www.boost.org/libs/python/doc/v2/pickle.html)
Here is a short snippet to reproduce the error:
Would it be possible to include this feature ?
Thanks,
Robin
The text was updated successfully, but these errors were encountered: