Python TensorFlow报错ImportError: cannot import name ‘BatchNormalization‘解决方法_cannot import name 'batchnormalization' from 'tens_大数据苦行僧—yisurvey123的博客-CSDN博客

网站介绍:简介:本文主要介绍Python中,使用TensorFlow时,执行from keras.layers.normalization import BatchNormalization报错ImportError: cannot import name ‘BatchNormalization’ from ‘keras.layers.normalization’ 解决方法 。报错信息:Traceback (most recent call last): File "C:\Data\breast-cance_cannot import name 'batchnormalization' from 'tensorflow.python.keras.layers