mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

some error about convolution in caffe op

Open dsqx71 opened this issue 10 years ago • 0 comments

I want to design a siamse network,I guess caffe op is a easier way to share parameter.

data = mx.sym.Variable('data') conv = mx.sym.CaffeOp(data_0 = data,num_weight=2, prototxt='''layer{type:\"Convolution\" convolution_param { num_output: 128 pad: 2 kernel_size: 5 stride: 2 }''')

But I meet some errors:

[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 7:4: Expected identifier. WARNING: Logging before InitGoogleLogging() is written to STDERR F0808 17:49:27.361186 12722 caffe_fieldentry.h:57] Check failed: false Caffe Net Prototxt: layer{type:"Convolution" convolution_param { num_output: 128 pad: 2 kernel_size: 5 stride: 2

}Initialized Failed *** Check failure stack trace: ***

dsqx71 avatar Aug 08 '16 09:08 dsqx71