@grd349
model.get_weights() returns a 2D array where the first column is weights and the second is biases.
model.set_weights() takes a 2D array and changes all the weights and biases accordingly.
For example:
a = np.array(model.get_weights())
model.set_weights(a)
Using this to save weights at the end of some training, the model could then be recompiled with a different learning rate, and then training could continue.
model.save_weights(), also exists but I haven't looked into it to see its functionality.
@grd349 model.get_weights() returns a 2D array where the first column is weights and the second is biases. model.set_weights() takes a 2D array and changes all the weights and biases accordingly.
For example: a = np.array(model.get_weights()) model.set_weights(a)
Using this to save weights at the end of some training, the model could then be recompiled with a different learning rate, and then training could continue.
model.save_weights(), also exists but I haven't looked into it to see its functionality.