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
返回列表