keras2caffe
keras2caffe copied to clipboard
Keras to Caffe model converter tool
how to install 'caffe' module???
out_w = math.ceil(w / float(strides[1])) TypeError: unsupported operand type(s) for /: 'NoneType' and 'float' Excuse me, if my input is not fixed size input_shape[None None None 3], where should the...
trying the code with MobileNet, I face the following error; ``` Traceback (most recent call last): File "convert.py", line 35, in keras2caffe.convert(keras_model, caffe_proto, caffe_weights) File "../../keras2caffe/convert.py", line 390, in convert...
Please support 'Conv2DTranspose' Traceback (most recent call last): File "convert.py", line 9, in keras2caffe.convert(model, 'facades.prototxt', 'facades.caffemodel') File "../../keras2caffe/convert.py", line 383, in convert raise Exception('Unsupported layer type: '+layer_type) Exception: Unsupported layer...
It seems that the output of convolution layers of keras and caffe has different output even when the input the and weights are all the same. It may be caused...
hello, when i try to convert an SimpleRNN keras model to RNN caffe model , i got an error: **ValueError: could not broadcast input array from shape (256, 256) into...
I got an error while converting as follows: .... I0107 15:12:23.722321 7166 net.cpp:242] This network produces output dense_2 I0107 15:12:23.722332 7166 net.cpp:255] Network initialization done. Traceback (most recent call last):...
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...
File "/home/zhex/work/keras2caffe/examples/face_classification/convert.py", line 10, in keras2caffe.convert(model, 'deploy.prototxt', 'weights.caffemodel') File "/home/zhex/work/keras2caffe/keras2caffe/convert.py", line 80, in convert if layer_type=='InputLayer' or not hasattr(caffe_net, 'data'): File "/home/zhex/caffe/python/caffe/net_spec.py", line 180, in __getattr__ return self.tops[name] KeyError: 'data'