Closed jdebacker closed 4 years ago
Thanks for opening this issue @jdebacker. You can use cloudpickle
to pickle Parameters
objects. Here are some related issues/comments:
https://github.com/PSLmodels/ParamTools/issues/78 https://github.com/marshmallow-code/marshmallow/pull/1469#issuecomment-564584443
cloudpickle
should be installed with dask
. Once you dump the objects with cloudpickle
, you can load them like usual with regular pickle
. Is that an OK solution with you?
@hdoupe Thanks for quick reply. I now recall you helping me with this before - sorry to forget.
No worries!
@hdoupe I often like to save my parameters object with a model run to be able to return to that exact specification. With the newest
paramtools 0.13.1
, I'm finding that I can no longer pickle the paramtools object as I could before:Is this expected? Suggestions on workarounds?