AttributeError: module ‘tensorflow.python.keras.utils.generic_utils‘ has no attribute ‘populate_dict

解决:参考https://blog.csdn.net/zcw1234515/article/details/115017105
复制代码https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/utils/generic_utils.py到本地(D:\Downloads\Anaconda\anaconda\Lib\site-packages\tensorflow\python\keras\utils\generic_utils.py)<直接替换>

你可能感兴趣的:(python)