成功解决AttributeError: module tensorflow.sets has no attribute intersection
生活随笔
收集整理的這篇文章主要介紹了
成功解决AttributeError: module tensorflow.sets has no attribute intersection
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
成功解決AttributeError: module tensorflow.sets ? has no attribute intersection
目錄
解決問題
解決思路
解決方法
T1、更新 tensorflow-gpu
T2、更新pixellib庫
解決問題
AttributeError: module tensorflow.sets ? has no attribute intersection
解決思路
屬性錯(cuò)誤:模塊tensorflow.sets沒有intersection屬性
解決方法
版本問題造成的,升級(jí)tensorflow版本即可!
T1、更新 tensorflow-gpu
pip install --upgrade tensorflow-gpu
因?yàn)橄螺d速度慢,改為
pip install --user tensorflow_gpu-2.2.0-cp36-cp36m-win_amd64.whl
最后,代碼運(yùn)行成功!
T2、更新pixellib庫
pip install --upgrade pixellib總結(jié)
以上是生活随笔為你收集整理的成功解决AttributeError: module tensorflow.sets has no attribute intersection的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决AttributeError:
- 下一篇: CV之IS:利用pixellib库基于m