Hi
I have results trained with tensorflow.contrib.slim.fully_connected layer and the training results are stored as “fully_connected/weights”.  When I migrate to TF2.3, the contrib package was not supported anymore. Instead, I am using tf.compat.v1.layers.dense(…, name=‘fully_connected’). But dense layer’s kernal is named as “kernel” while in tensorflow.contrib.slim.fully_connected, it was named as “weights”.
When load my trained results, it complain it cannot find “fully_connected/kernel”  in my checkpoints. (it was saved as “fully_connected/weights”.
How can I resolve this kernel name difference?
Thanks for your help