reference: https://blog.youkuaiyun.com/qq_41185868/article/details/79702915
问题:
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