-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
See: https://discuss.tvm.ai/t/nnvm-base-nnvmerror-cannot-find-argument-auto-pad/1644/3
This error occurs when I try to compile an ONNX model. I'm currently clarifying if I'm allowed to share the model or if it's confidential.
Traceback (most recent call last):
File "/home/martin/Dev/s-tvm/compile_model.py", line 189, in <module>
compile_model(model_name=model_name, model_path=model_path, output_dir=output_dir)
File "/home/martin/Dev/s-tvm/compile_model.py", line 93, in compile_model
dtype=input_dtype_dict)
File "/home/martin/.local/lib/python3.6/site-packages/nnvm-0.8.0-py3.6.egg/nnvm/compiler/build_module.py", line 270, in build
ishape, _ = graph_util.infer_shape(graph, **shape)
File "/home/martin/.local/lib/python3.6/site-packages/nnvm-0.8.0-py3.6.egg/nnvm/compiler/graph_util.py", line 31, in infer_shape
graph = graph.apply("InferShape")
File "/home/martin/.local/lib/python3.6/site-packages/nnvm-0.8.0-py3.6.egg/nnvm/graph.py", line 234, in apply
check_call(_LIB.NNGraphApplyPasses(self.handle, npass, cpass, ctypes.byref(ghandle)))
File "/home/martin/.local/lib/python3.6/site-packages/nnvm-0.8.0-py3.6.egg/nnvm/_base.py", line 75, in check_call
raise NNVMError(py_str(_LIB.NNGetLastError()))
nnvm._base.NNVMError: Error in operator elemwise_add0: [07:37:27] /home/martin/Dev/tvm/nnvm/src/top/nn/../elemwise_op_common.h:38: Check failed: assign(&dattr, (*vec)[i]) Incompatible attr in node elemwise_add0 at 1-th input: expected [1,180], got [180]
Metadata
Metadata
Assignees
Labels
No labels