why do you serialise only a vector and not the whole model?

> On 20 Apr 2020, at 23:42, Ahmed Khalifa via shogun-list 
> <shogun-list@shogun-toolbox.org> wrote:
> 
> So I have been looking in the docs and examples, on how to deserialize a .dat 
> file that has saved weights from a model, while this is fairly simply using 
> the following lines of code
> 
> sg_storage = DynamicObjectArray()
> sg_serializer = JsonSerializer()
> sg_storage.append_element_real_vector(weights, "weights")
> serialize("weight.dat", sg_storage, sg_serializer)
> 
> However, I haven't found any way to deserialize the output file. So how 
> should this be done in shogun
> Thanks


Reply via email to