MNN icon indicating copy to clipboard operation
MNN copied to clipboard

how to use caffe model with ReverseLayer?

Open xinyu391 opened this issue 7 years ago • 1 comments

I have one caffe model with Reverse layer. official caffe doesn't include Reverse layer. but there are some caffe branch has this layer. when converting, crash happens:

text_format.cc:288] Error parsing text-format caffe.NetParameter: 344:17: Message type "caffe.LayerParameter" has no field named "reverse_param".
terminate called after throwing an instance of 'Error'

xinyu391 avatar May 08 '19 09:05 xinyu391

You can modified tools/converter/source/caffe/caffe.proto

and regenerate schema

jxt1234 avatar May 08 '19 10:05 jxt1234