Keras报错l2_normalize() got an unexpected keyword argument 'axis'

版权声明:本文为博主原创文章,欢迎转载,请注明转自http://blog.csdn.net/m0_37733057 https://blog.csdn.net/m0_37733057/article/details/87772418

不用改tensorflow版本 (自己的是1.4.0),

将tensorflow_backend.py中的 tf.nn.l2_normalize(x,axis=axis)变成tf.nn.l2_normalize(x,dim=axis)

解决参考:https://github.com/rykov8/ssd_keras/issues/134

猜你喜欢

转载自blog.csdn.net/m0_37733057/article/details/87772418
今日推荐