Open cyf518 opened 5 years ago
Hi @cyf518 , could you please paste your error log here? Thanks!
@rainLiuplus this is my error log, it prompts "not supported operator Crop", should i change it to slice? thand you!
intel@intel-computer:/home/intel_temp/liyuan/cyf/MMdnn$ sudo mmconvert -sf mxnet -in mxnet/kmodel/model-symbol.json -iw mxnet/kmodel/model-0000.params -df caffe -om ssha --inputShape 3,640,640
[13:54:36] src/nnvm/legacy_json_util.cc:209: Loading symbol saved by previous version v1.3.0. Attempting to upgrade...
[13:54:36] src/nnvm/legacy_json_util.cc:217: Symbol successfully upgraded!
/usr/local/lib/python2.7/dist-packages/mxnet/module/base_module.py:55: UserWarning: You created Module with Module(..., label_names=['softmax_label']) but input with name 'softmax_label' is not found in symbol.list_arguments(). Did you mean one of:
data
warnings.warn(msg)
Warning: MXNet Parser has not supported operator null with name data.
Warning: convert the null operator with name [data] into input layer.
Warning: MXNet Parser has not supported operator Crop with name crop0.
Traceback (most recent call last):
File "/usr/local/bin/mmconvert", line 11, in
Hi @cyf518 , yes, the reason is that mxnet_parser does not support several ops in your model like Crop, Reshape etc. Slice is not implemented either. We will implement them soon. Thanks!
@rainLiuplus thank you for your kindly reply!
Platform (like ubuntu 16.04/win10): ubuntu 16.04 Python version: 2.7
Running scripts: i convert model from this link: https://github.com/ElegantGod/SSHA/tree/master/kmodel but failed, please help! thanks
my command: sudo mmconvert -sf mxnet -in mxnet/kmodel/model-symbol.json -iw mxnet/kmodel/model-0000.params -df caffe -om ssha