patrikeh/go-deep

How to save and load trained data?

xc70203 opened this issue · 1 comments

When I load a trained Neural variable from a json file, it does not work.
How can I save and load trained model?

See https://github.com/patrikeh/go-deep/blob/master/persist.go.

You can get a serializable representation using:

	dump := n.Dump()

and load from a dump using:

 	n := deep.FromDump(dump)