运行keras出现 FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated解决办法
生活随笔
收集整理的這篇文章主要介紹了
运行keras出现 FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated解决办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
運行keras出現 FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy,
原則來說,沒啥影響,還是能運行,但是看著難受
解決辦法:
點擊藍色的鏈接:
進入
根據每個報錯的藍色鏈接,你會發現都是這種:
把里面的1 改成(1,)
然后退出,運行原文件
完美解決~
參考解決python調用TensorFlow時出現FutureWarning: Passing (type, 1) or ‘1type’
as a synonym of type is
deprecate
總結
以上是生活随笔為你收集整理的运行keras出现 FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦到冲厕所什么意思啊
- 下一篇: keras框架实现手写数字识别