pierluigiferrari / caffe_weight_converter

Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
GNU General Public License v3.0
69 stars 25 forks source link

Convert convolutional layers from Caffe to Keras #10

Open liamorra opened 5 years ago

liamorra commented 5 years ago

Hi, I have successfully used your tool to convert a custom-trained ResNet101 model from Caffe to Keras 2.2.4 with Tensorflow 1.9 backend. However, it seems that the output of the first convolutional layer is slightly different, despite the weights being loaded correctly, the padding is apparently correct and the output maps have the same size. Both input images are in BGR order.

Do you have any insight as to whether this is normal or are there differences that cannot be 100% compensated?