TensorFlow报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated......(亲测)
生活随笔
收集整理的這篇文章主要介紹了
TensorFlow报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated......(亲测)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
使用TensorFlow時報錯FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy.......
報錯原因:numpy1-17-0版本過高,使用numpy-1.16-0版本即可
解決方法:重新安裝numpy-1.16-0
pip install numpy==1.16.0
————————————————
版權聲明:本文為CSDN博主「論程序員的自我修養」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/kobe_academy/article/details/99706595
總結
以上是生活随笔為你收集整理的TensorFlow报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated......(亲测)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 警告:Your CPU supports
- 下一篇: 解决python调用TensorFlow