mxnet convert to onnx: No conversion function registered for op type null yet. #15788
Replies: 6 comments 4 replies
-
@mxnet-label-bot add [onnx, question] @lookup1980 Does your onnx_mxnet come from mx.contrib.onnx_mxnet? |
Beta Was this translation helpful? Give feedback.
-
@lookup1980 could you share your sym and params?
|
Beta Was this translation helpful? Give feedback.
-
@vandanavk even your example gave me an error:
And yes, I had the same error of @lookup1980 before. |
Beta Was this translation helpful? Give feedback.
-
@alexst07 Please have a look at #14589 (comment) for information on the error with BatchNorm operator. |
Beta Was this translation helpful? Give feedback.
-
I face the same issus too. |
Beta Was this translation helpful? Give feedback.
-
I tried to convert a retinaface model to onnx but faced the same error. I would be grateful if you help me Standard Imagenet input - 3 channels, 224*224input_shape = (1,3,112,112) Path of the output fileonnx_file = 'mxnet_exported_resnet50.onnx' |
Beta Was this translation helpful? Give feedback.
-
Description
I tried to convert mxnet mode to onnx, but got this error: No conversion function registered for op type null yet.
onnx version is:
The model and my code is:
Environment info (Required)
----------Python Info----------
Version : 3.7.3
Compiler : GCC 7.3.0
Build : ('default', 'Mar 27 2019 22:11:17')
Arch : ('64bit', '')
------------Pip Info-----------
Version : 19.1.1
Directory : /home/mgu/anaconda3/envs/mxnet-py37-cpu/lib/python3.7/site-packages/pip
----------MXNet Info-----------
Version : 1.5.0
Directory : /home/mgu/anaconda3/envs/mxnet-py37-cpu/lib/python3.7/site-packages/mxnet
Commit Hash : 75a9e18
Library : ['/home/mgu/anaconda3/envs/mxnet-py37-cpu/lib/python3.7/site-packages/mxnet/libmxnet.so']
Build features:
✖ CUDA
✖ CUDNN
✖ NCCL
✖ CUDA_RTC
✖ TENSORRT
✔ CPU_SSE
✔ CPU_SSE2
✔ CPU_SSE3
✔ CPU_SSE4_1
✔ CPU_SSE4_2
✖ CPU_SSE4A
✔ CPU_AVX
✖ CPU_AVX2
✖ OPENMP
✖ SSE
✔ F16C
✖ JEMALLOC
✖ BLAS_OPEN
✖ BLAS_ATLAS
✖ BLAS_MKL
✖ BLAS_APPLE
✔ LAPACK
✖ MKLDNN
✔ OPENCV
✖ CAFFE
✖ PROFILER
✔ DIST_KVSTORE
✖ CXX14
✖ INT64_TENSOR_SIZE
✔ SIGNAL_HANDLER
✖ DEBUG
----------System Info----------
Platform : Linux-4.15.0-55-generic-x86_64-with-debian-stretch-sid
system : Linux
node : mgu-P520c
release : 4.15.0-55-generic
version : #60~16.04.2-Ubuntu SMP Thu Jul 4 09:03:09 UTC 2019
----------Hardware Info----------
machine : x86_64
processor : x86_64
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz
Stepping: 4
CPU MHz: 1200.080
CPU max MHz: 3900.0000
CPU min MHz: 1200.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 8448K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req md_clear flush_l1d
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0061 sec, LOAD: 0.5550 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0462 sec, LOAD: 0.0659 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0188 sec, LOAD: 0.1447 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0236 sec, LOAD: 0.1065 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0056 sec, LOAD: 0.3537 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0158 sec, LOAD: 0.0744 sec.
Package used (Python/R/Scala/Julia):
(I'm using ...)
For Scala user, please provide:
java -version
)mvn -version
)scala -version
)For R user, please provide R
sessionInfo()
:Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
(Paste the output of
git rev-parse HEAD
here.)Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
(Paste the complete error message, including stack trace.)
Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Beta Was this translation helpful? Give feedback.
All reactions