成功解決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
最後,代碼運行成功!