from tensorflow.keras.utils import np_utils报错

原代码from tensorflow.keras.utils import np_utils

改为:from tensorflow.python.keras.utils import np_utils

你可能感兴趣的:(tensorflow,keras,python)