成功解决AttributeError: module tensorflow.sets has no attribute intersection
目录
解决问题
解决思路
解决方法
T1、更新 tensorflow-gpu
T2、更新pixellib库
解决问题AttributeError: module tensorflow.sets has no attribute intersection
属性错误:模块tensorflow.sets没有intersection属性
解决方法版本问题造成的,升级tensorflow版本即可!
T1、更新 tensorflow-gpupip install --upgrade tensorflow-gpu
因为下载速度慢,改为 pip install --user tensorflow_gpu-2.2.0-cp36-cp36m-win_amd64.whl
最后,代码运行成功!
T2、更新pixellib库pip install --upgrade pixellib