尧图精选

AttributeError: module ‘tensorflow._api.v1.compat.v2‘ has no attribute ‘__internal__‘【亲测有效】

🕒 发布时间:2026/10/1 7:19:31 📁 来源:尧图网络
环境win10gpu 3090mask-rcnn-master模型在执行train.py时报错:AttributeError: module tensorflow._api.v1.compat.v2 has no attribute __internal__解决方法1.卸载pip uninstall keras-nightly2.安装pip install -i https://pypi.douban.com/simple/ h5py2.10.0pip install -i https://pypi.douban.com/simple/ keras2.3.1
上一篇/下一篇内容由系统自动关联 返回资讯列表 →