Recently update my Tensorflow to 1.7, when loading the model, got an warning:
model = Model()
WARNING:tensorflow: From xxxxxxx\encoder.py: 59: calling l2_normalize (from tensorflow.python.ops.nn_impl) with dim is deprecated and will be removed in a future version.
Changed the code from encoder.py: 58-62
change the dim parameter into axis
Recently update my Tensorflow to 1.7, when loading the model, got an warning:
Changed the code from encoder.py: 58-62 change the dim parameter into axis
The warning is gone.