normandipalo/faceID_beta

TypeError: l2_normalize() got an unexpected keyword argument 'axis'

RaiAbhishek opened this issue · 2 comments

I'm getting the above error raised during batch normalization of x1. The solutions I found are not very encouraging. Can you please suggest something ?
Thanks.
image

The issue was resolved by changing the "tensorflow_backend.py" file.
return value of function l2_normalize was changed to:
return tf.nn.l2_normalize(x, dim=axis)

tensorflow 1.8 can avoid this problem