Get list of Keras variables
You can get the variables of a Keras model via model.weights (list of tf.Variable instances).
I'd like to compare variables in a Keras model with those from a TensorFlow checkpoint. I can get the TF variables like this:
vars_in_checkpoint = tf.train.list_variables(os.path.join("./model.ckpt"))
How can I get the Keras variables to compare from my model?