JLD.jl
JLD.jl copied to clipboard
Saving and loading julia variables while preserving native types
Edited to add I'm on Julia 0.5.1, can supply versioninfo() if helpful. Hi all, For my application, I need to use a user defined type that has a field of...
This patch fixes a regression introduced by 94af823c621a9e5cb5fcd8af1c364a2f3197ce22. Now the return value of `Optim.optimize` is `load`able again.
``` julia> @save "tachyon1.jlprof" li lidict WARNING: Method definition h5convert!(Ptr, JLD.JldFile, Bool, JLD.JldWriteSession) in module JLD at /home/kfischer/.julia/v0.5/JLD/src/jld_types.jl:590 overwritten at /home/kfischer/.julia/v0.5/JLD/src/jld_types.jl:590. WARNING: Method definition h5convert!(Ptr, JLD.JldFile, Bool, JLD.JldWriteSession) in module...
I have been trying to convert a 256 MB .dat text file to a 2D array .jld file but end up having a 19GB file. The array stored in the...
Is there any way of determining the `eltype` of a dataset containing Julia compound types? I assume the answer is yes, since once I actually read elements out of the...
I was wondering if any consideration has been giving to allow for the storing of arrays with variable dimensions, for example, using HDF5 chunking and the `set_dims!` function, so that...
``` jldopen(work_file, "w") do file for line in readlines(input_file) cur_var, cur_val = map(x -> strip(x), split(line, "=")) write(file, cur_var, cur_val) end end ``` gives ``` ERROR: LoadError: LoadError: LoadError: MethodError:...
``` julia using JLD JLD.readsafely ``` returns a `ERROR: UndefVarError: readsafely not defined`. This happens for me on `Julia 0.4.6` with the latest `JLD` release as well as `master`.
I'm using the following optimized serializers to significantly speed up JLD saving/loading while at the same time reduce the file size (Dicts are stored more efficiently with this among other...
Should delete them when tests are done.