You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/tools/model_transform.py", line 407, in <module>
tool.model_transform(args.mlir, args.add_postprocess, args.patterns_count)
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/tools/model_transform.py", line 57, in model_transform
self.converter.generate_mlir(mlir_origin)
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/transform/OnnxConverter.py", line 733, in generate_mlir
self.onnxop_factory.get(n.op_type, lambda x: NoneAndRaise(x))(n)
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/transform/OnnxConverter.py", line 235, in <lambda>
"Pad": lambda node: self.convert_pad_op(node),
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/transform/OnnxConverter.py", line 1626, in convert_pad_op
pads = list(self.getWeight(onnx_node.inputs[1]))
File "/usr/local/lib/python3.10/dist-packages/tpu_mlir/python/transform/BaseConverter.py", line 84, in getWeight
raise KeyError("No {} tensor in model".format(name))
KeyError: 'No /pool1/pad/Reshape_1_output_0 tensor in model'
自己的onnx模型转mlir模型时 KeyError: 'operand /backbone/norm1/Div_output_0 not found'
The text was updated successfully, but these errors were encountered: