Closed morripau closed 11 months ago
Hi @morripau ,
on the julia side, a PyObject
is really just a pointer.
Therefore the default is to just not store anything. (the pointer would be invalid upon loading)
However, it should be possible to implement something like https://github.com/JuliaPy/PyCallJLD.jl for JLD2. Then, one would use pickle to serialize the pyobject and place the bytes into the JLD2 file.
Here's a simple example. When my_scaler is loaded it's loaded as PyObject NULL.