成功解决AttributeError: module tensorflow.sets has no attribute intersection

成功解决AttributeError: module tensorflow.sets   has no attribute intersection

目录

解决问题

解决思路

解决方法


解决问题

AttributeError: module tensorflow.sets   has no attribute intersection

解决思路

属性错误:模块tensorflow.sets没有intersection属性

解决方法

版本问题造成的,升级tensorflow版本即可!

pip install --upgrade tensorflow-gpu

因为下载速度慢,改为
pip install --user tensorflow_gpu-2.2.0-cp36-cp36m-win_amd64.whl

最后,代码运行成功!

猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/106424649