komputation icon indicating copy to clipboard operation
komputation copied to clipboard

Saving network weights/structure

Open Eyeownyew opened this issue 7 years ago • 3 comments

Hello, I can't figure out if anything exists in this framework for saving & loading trained models. I want to train neural networks and then save them for later usage. Is this feature being worked on, or does it exist? Thanks

Eyeownyew avatar Feb 21 '18 23:02 Eyeownyew

Bump

Eyeownyew avatar Mar 04 '18 18:03 Eyeownyew

Hello, I have worked with koma's matrices and applied them in neural networks. My method of saving weights and biases were that it was converted to double array, then was persisted to a no sql database. Loading them was the same with the use of matrix factory double array constructor if I am not mistaken.

jumangitjs avatar Mar 05 '18 02:03 jumangitjs

the easy way of implementing this would be using a library like https://github.com/RuedigerMoeller/fast-serialization which with little customization (adding serializers) can save any Java object to json

iirekm avatar May 25 '18 07:05 iirekm