all_weights = []
for layer in model.layers:
w = layer.get_weights()
all_weights.append(w)
all_weights = np.array(all_weights)
np.save('all_weights.npy', all_weights)
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/e9c2a856-331f-4a32-8b1d-3b84ec8627b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/304df4e9-7f0a-4315-9927-edd237ab46f3%40googlegroups.com.