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