成功解決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

最後,代碼運行成功!

 

 

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章