differences between Caffe and Keras when applying MAX pooling

后端 未结 1 1280
栀梦
栀梦 2021-01-06 10:12

I was working on a project to convert keras json model to caffe prototxt
caffe supports arbitrary padding values
keras (on top of tensorflow) supports \'same\' and

相关标签:
1条回答
  • 2021-01-06 10:52

    Differences in implementation of Pooling - In keras, the half-windows are discarded. Caffe will put additional output for half-windows.
    Differences in Padding schemes - The 'same' padding in keras can sometimes result in different padding values for top-bottom (or left-right). caffe always pad evenly on both sides so the top-bottom (or left-right) padding values are always equal.

    0 讨论(0)
提交回复
热议问题