Closed luboshanus closed 3 years ago
I would first ensure I'm using exactly the same version of the packages involved in both machines.
Pkg.instantiate
is great for this.
Thanks for the message. I tried that (having Pkg and then instantiate it with given dependencies) and I get the same error message as in previous.
BUT I have just installed julia v1.2.0
and I am able to open the .bson
created at different machines with this version. And this is super unfortunate behaviour.
BSON is great but why it is not stable even my environment is the same [except julia
versions 1.2
and 1.3
. Could @MikeInnes help? Thank you!
(Sometimes it just looks like there are random magic bugs (in julia) complicating the work for fun or what...)
Oh, so change of Julia between 1.2 and 1.3 is sometimes breaking for BSON? Good to know. Personally I'm migrating between Julia 1.3, 1.4 and 1.5 and luckily there the BSON deserialization works for me even for Flux models.
Hi,
I have a problem that on server
julia v1.2
I save oos predictions into a.bson
. When I load those at this computer I successfully do. If I download them to my PC (Mac)julia v1.3.1
I get error see below. However, if I save, download, and loadtest.bson
containing basicDict()
withrandn(10,10)
load works.The file contains
Dict{Symbol, Any} with 4 entries: ...
and looks like this:But when I download it to my computer and try to load it I get the error. I don't understand this behaviour and it is really frustraiting. I do not get the point why it works on one machine and not on the other one with this particular file and it does work with different new file on both.