You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/11/24 15:13:18 UTC
[GitHub] [incubator-mxnet] gospodima opened a new issue #20754: ValidationError: Graph must be in single static assignment (SSA) form, however 'identity0' has been used as output names multiple times.
gospodima opened a new issue #20754:
URL: https://github.com/apache/incubator-mxnet/issues/20754
## Description
I am having the same error as discussed in https://github.com/apache/incubator-mxnet/discussions/20205
<div type='discussions-op-text'>
<sup>Originally posted by **aslam-ep** April 23, 2021</sup>
When converting MXNet i3d_resnet50_v1_custom model to onxx I got an error like this:
`ValidationError: Graph must be in single static assignment (SSA) form, however 'layer1_0_relu0_fwd' has been used as output names multiple times.`
onxx version I used: 1.2.1</div>
Unfortunately, the solution suggested there is not working for me because I also need onnx2mx support in my project. Is it possible to solve this bug while having both functionalities: mx2onnx as well as onnx2mx?
### Error Message
```
File "/usr/local/lib/python3.7/dist-packages/mxnet/contrib/onnx/mx2onnx/export_model.py", line 83, in export_model
verbose=verbose, opset_version=opset_version)
File "/usr/local/lib/python3.7/dist-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 315, in create_onnx_graph_proto
checker.check_graph(graph)
File "/usr/local/lib/python3.7/dist-packages/onnx/checker.py", line 58, in checker
proto.SerializeToString(), ctx)
onnx.onnx_cpp2py_export.checker.ValidationError: Graph must be in single static assignment (SSA) form, however 'identity0' has been used as output names multiple times.
```
## Environment
I am using mxnet 1.7 and onnx 1.2.1 (with python 3.7).
To solve this issue I tried to upgrade to mxnet-1.8.0 and 1.8.0.post0 and upgrade to onnx 1.7. and 1.8, but I am still receiving this error.
`diagnose.py`:
<details>
<summary>Environment Information</summary>
```
----------Python Info----------
Version : 3.7.3
Compiler : GCC 8.3.0
Build : ('default', 'Jan 22 2021 20:04:44')
Arch : ('64bit', 'ELF')
------------Pip Info-----------
Version : 21.3.1
Directory : /usr/local/lib/python3.7/dist-packages/pip
----------MXNet Info-----------
Version : 1.8.0
Directory : /usr/local/lib/python3.7/dist-packages/mxnet
Commit hash file "/usr/local/lib/python3.7/dist-packages/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source.
Library : ['/usr/local/lib/python3.7/dist-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
✖ TVM_OP
----------System Info----------
Platform : Linux-5.15.2-2-MANJARO-x86_64-with-debian-10.6
system : Linux
node : f5ef2cd48370
release : 5.15.2-2-MANJARO
version : #1 SMP PREEMPT Sat Nov 13 19:25:38 UTC 2021
----------Hardware Info----------
machine : x86_64
processor :
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Stepping: 10
CPU MHz: 2200.000
CPU max MHz: 4100.0000
CPU min MHz: 800.0000
BogoMIPS: 4401.32
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 9216K
NUMA node0 CPU(s): 0-11
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 est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0098 sec, LOAD: 0.5444 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0324 sec, LOAD: 0.4795 sec.
Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1056)>, DNS finished in 0.09302854537963867 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0139 sec, LOAD: 1.1905 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0080 sec, LOAD: 0.5496 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.019002914428710938 sec.
----------Environment----------
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #20754: ValidationError: Graph must be in single static assignment (SSA) form, however 'identity0' has been used as output names multiple times.
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #20754:
URL: https://github.com/apache/incubator-mxnet/issues/20754#issuecomment-977970926
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org