成功解决AttributeError: module tensorflow.sets has no attribute intersection
生活随笔
收集整理的這篇文章主要介紹了
成功解决AttributeError: module tensorflow.sets has no attribute intersection
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
成功解決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-gpu
pip install --upgrade tensorflow-gpu
因為下載速度慢,改為
pip install --user tensorflow_gpu-2.2.0-cp36-cp36m-win_amd64.whl
最后,代碼運行成功!
T2、更新pixellib庫
pip install --upgrade pixellib總結
以上是生活随笔為你收集整理的成功解决AttributeError: module tensorflow.sets has no attribute intersection的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决AttributeError:
- 下一篇: CV之IS:利用pixellib库基于m