Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Cloning of model #106

Closed
tambetm opened this issue Sep 24, 2015 · 0 comments
Closed

Cloning of model #106

tambetm opened this issue Sep 24, 2015 · 0 comments
Assignees
Milestone

Comments

@tambetm
Copy link

tambetm commented Sep 24, 2015

In my application I need to make copy of the model periodically. Currently I'm saving the weights to a file and load them into another model. That's clearly inefficient.

I would allow loading of weights directly from dictionary, instead of from file. That would also solve slight disparity with between two methods: Model.serialize() returns dictionary, but Model.load_weights() expects file name. I would allow two additional methods: Model.unserialize(dict) and Model.save_weights(weights_path).

@scttl scttl added this to the v1.2.0 milestone Jan 8, 2016
@scttl scttl self-assigned this Jan 8, 2016
@scttl scttl closed this as completed in 29ed0eb Jan 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants