Convert_module.py,ValueError: Unknown layer Slice!


#1
  I want to convert the caffe module to mxnet, so I use the Convert_module.py. But I have trouble,the code report the error:**ValueError: Unknown layer Slice!**. I don`t know how to solve the problem,who can tell me how to modify the Convert_module.py.

:sob::sob::sob::sob:


#2

Can you provide a minimally reproducible example and specify which version of MXNet you are using?

Have you read the caffe to mxnet faq?


#3

The MXNet version is 1.2.0. Part of the caffe prototxt:
layer{
name: “slice1”
type:“Slice”
slice_param {
slice_dim: 1
}
bottom: “conv1”
top: “slice1_1”
top: “slice1_2”
}
Thank`s for you help!


#4

Hi @C-SJK, could you also provide the command you ran to generate this error as I can’t find convert_module.py.


#6

Hi @thomelane ,
You can open the link" https://github.com/apache/incubator-mxnet/tree/master/tools/caffe_converter’’
:grimacing: