Loading Tensorflow weights onto Keras layers -
i have trained tensorflow model , want load weights onto layers of tensorflow.contrib.keras implementation of same model (pure keras). have tried iterating on tensorflow variables tf.trainable_variables()
1 bye one, , suppose should go on trainable keras layers len(model.layers[i].trainable_weights)>0
, not know how export weights, , load_weights
command not seem work here me.
Comments
Post a Comment