尧图网站设计 尧图网站设计YAOTU DESIGN
ARTICLE DETAIL

资讯详情

深耕网站设计与一线实操的经验洞察。

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

AttributeError: module ‘tensorflow._api.v1.compat.v2‘ has no attribute ‘__internal__‘【亲测有效】 环境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
返回列表