小编vah*_*id0的帖子

AttributeError: 模块“keras.utils.generic_utils”没有属性“populate_dict_with_module_objects”

导入keras库时出现以下错误

from keras.models import Sequential
from keras.layers import Dense, LSTM
Run Code Online (Sandbox Code Playgroud)
AttributeError: module 'keras.utils.generic_utils' has no attribute
'populate_dict_with_module_objects
Run Code Online (Sandbox Code Playgroud)

我在 windows 10 上工作,我的 keras 版本是:2.4.3,tensorflow 版本是 2.5.0rc0 我也安装了 cuda 来解决这个问题,但没有效果

python keras tensorflow

4
推荐指数
1
解决办法
7164
查看次数

标签 统计

keras ×1

python ×1

tensorflow ×1