调参报错module ‘tensorflow.keras.losses‘ has no attribute ‘log_loss‘

module 'tensorflow.keras.losses' has no attribute 'log_loss'

加.compat.v1.

 

你可能感兴趣的:(调试代码,tensorflow)