cpmpercussion / keras-mdn-layer

An MDN Layer for Keras using TensorFlow's distributions module
MIT License
164 stars 44 forks source link

Reseting Model Weights #22

Open doloresgarcia opened 4 years ago

doloresgarcia commented 4 years ago

Hi, I was wondering whether reseting the model weights was available.

cpmpercussion commented 4 years ago

Hi @doloresgarcia,

I'm not quite sure what you mean. The MDN layer consists of three dense layers (in parallel), mdn_mus, mdn_sigmas, man_pis. So if you want to reinitialise these, you could just access them directly and modify the weights as for any other Keras layer.

Is that what you want to do?

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, 9 November 2019 1:34 AM, doloresgarcia notifications@github.com wrote:

Hi, I was wondering wether reseting the model weights was available.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.