python loading onnx model as a protocol buffer,
one of the objects you getting while loading onnx model is a GRAPH, GRAPH containing -"nodes", "initializer" ,"attribute" etc,
my question is - does "nodes", "initializer", "attribute" have any order with logic connection to neural network execution ? or it's ordering randomly?
nodes are sorted by their execution order. I believe others are just randomly stored.
Hi.. I seemed to run into this error while exporting onnx to caffe2. The error message doesn't help to understand the cause.
IndexError Traceback (most recent call last)
<ipython-input-8-20ea69495a2b> in <module>()
----> 1 onnx.utils.polish_model(model)
/usr/local/lib/python3.6/dist-packages/onnx-1.6.0-py3.6-linux-x86_64.egg/onnx/optimizer.py in optimize(model, passes, fixed_point)
53 optimized_model_str = C.optimize_fixedpoint(model_str, passes)
---> 55 optimized_model_str = C.optimize(model_str, passes)
57 return onnx.load_from_string(optimized_model_str)
IndexError: Input 1 is undefined!
Hi ONNX partners,
Per ONNX community agreement, ONNX 1.7 release is being prepared. Key dates as below.
Please active PR owners, mark your PR with “1.7 release” tag and actively pushing the merge before the due date.