成功解决UserWarning: Update your `Conv2D` call to the Keras 2 API问题
生活随笔
收集整理的這篇文章主要介紹了
成功解决UserWarning: Update your `Conv2D` call to the Keras 2 API问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
成功解決UserWarning: Update your `Conv2D` call to the Keras 2 API問題
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
解決問題
UserWarning: Update your `Conv2D` call to the Keras 2 API:
?
?
?
解決思路
出現這些警告是由于keras的版本更新的問題,這里是keras2.0的更新文檔的鏈接:?
?https://github.com/fchollet/keras/wiki/Keras-2.0-release-notes
所以定義卷積層需要用Conv2D而不再是Convolution2D
?
?
?
?
解決方法
將所有的Convolution2D替換為Conv2D
哈哈,大功告成!
?
?
?
總結
以上是生活随笔為你收集整理的成功解决UserWarning: Update your `Conv2D` call to the Keras 2 API问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: DL之ResNet:ResNet算法的简
- 下一篇: 成功解决Redirection is n