uhfband / keras2caffe

Keras to Caffe model converter tool
MIT License
67 stars 22 forks source link

There are some mistakes with ZeroPadding2D layer. #19

Open StarIsFalling opened 5 years ago

StarIsFalling commented 5 years ago

I want to convert CSP(https://github.com/liuwei16/CSP) to caffe version.After ignoring the lack of conv2dtranspose and l2normalization layers,the model building is also aborted when it comes to the zerospadding layer. The message is bellow: I1112 14:34:32.812340 19450 net.cpp:100] Creating Layer zero_padding2d_1 I1112 14:34:32.812345 19450 net.cpp:434] zero_padding2d_1 <- data I1112 14:34:32.812351 19450 net.cpp:408] zero_padding2d_1 -> zero_padding2d_1 F1112 14:34:32.812368 19450 pooling_layer.cpp:73] Check failed: padh < kernelh (6 vs. 1) . So can you fix it and add Conv2DTranspose 、L2Normalization layers?Thank you very much.