What's the difference between convolution in Keras vs Caffe?
问题 I'm trying to replicate a large Caffe network into Keras (based on tensorflow backend). But I'm having a large trouble doing it even at a single convolutional layer. Simple Convolution in General : Let's say we had a 4D input with shape (1, 500, 500, 3) , and we had to perform a single convolution on this input with 96 filters with kernel size of 11 and 4x4 strides. Let's set our weight and input variables: w = np.random.rand(11, 11, 3, 96) # weights 1 b = np.random.rand(96) # weights 2 (bias