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

 

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