The following error occurs when I try to compile an onnx model. From what I can tell using [Netron](https://lutzroeder.github.io/netron/), there is an input `W`. However, it's not another node but instead some (static) initialization data for the current node.
The model can be downloaded here (md5: 2c4009c79e2a5b62d8a3fef14f1fc03b): https://we.tl/t-5E4oXO0Rmq ```python File "/home/martin/Dev/xyz/src/tvm/compile_model.py", line 79, in compile_model relay_func, params = relay.frontend.from_onnx(onnx_model, shape=input_shape_dict, dtype=input_dtype_dict) File "/home/martin/.local/lib/python3.6/site-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/frontend/onnx.py", line 1126, in from_onnx sym, params = g.from_onnx(graph, opset) File "/home/martin/.local/lib/python3.6/site-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/frontend/onnx.py", line 942, in from_onnx inputs = [self._nodes[self._renames.get(i, i)] for i in node.input] File "/home/martin/.local/lib/python3.6/site-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/frontend/onnx.py", line 942, in <listcomp> inputs = [self._nodes[self._renames.get(i, i)] for i in node.input] KeyError: 'W' ``` --- [Visit Topic](https://discuss.tvm.ai/t/relay-onnx-keyerror-w-when-compiling-from-onnx/2102/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/7af8371929998f022d64106c91d401b759bfe3a07bd22e62bd76c9ac17261af7). Tianqi Chen, UW, Seattle, WA, 98105, United States http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=t0uhxK4H1l4-VnjUtMSDyA2