I have a Tensorflow v1 session graph (trained) and want to retrieve the weights and biases from it to input them into a Keras model with the same architecture. I have managed to get all the weights with the following calls, but not the biases. I tried:
tf.all_variables()
tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES)
tf.get_collection(tf.GraphKeys.BIASES)
Any ideas on how to get the biases as well?