Pegasus import onnx exception
-
During onnx import with pegasus tool we have this exception:
I build output layer attach_Clip_Clip_28:out0
I Try match Clip_Clip_28:out0
I Match r_clip_3inputs [['Clip_Clip_28', 'Cast_Cast_27', 'Initializer_onnx//Clip_41']] [['Clip']] to [['clipbyvalue']]
Traceback (most recent call last):
File "pegasus.py", line 131, in <module>
File "pegasus.py", line 112, in main
File "acuitylib/app/importer/commands.py", line 248, in execute
File "acuitylib/vsi_nn.py", line 116, in load_onnx
File "acuitylib/interface/importer.py", line 145, in load
File "acuitylib/app/importer/import_onnx.py", line 104, in run
File "acuitylib/converter/onnx/convert_onnx.py", line 162, in match_paragraph_and_param
File "acuitylib/converter/onnx/convert_onnx.py", line 154, in match_tensor_model
File "acuitylib/converter/onnx/convert_onnx.py", line 1565, in match_paragraph_and_param
File "acuitylib/converter/onnx/convert_onnx.py", line 1424, in _onnx_build_acu_layer
File "acuitylib/converter/onnx/convert_onnx.py", line 1387, in _onnx_acu_param_assign
File "acuitylib/converter/onnx/convert_onnx.py", line 1335, in _onnx_parse_param
File "acuitylib/converter/onnx/convert_onnx.py", line 1342, in _onnx_parase_execute
File "<string>", line 1, in <module>
File "acuitylib/converter/onnx/convert_onnx.py", line 422, in tensor_to_numpy
File "acuitylib/converter/onnx/onnx_util.py", line 177, in tensor_to_numpy
File "acuitylib/converter/onnx/onnx_util.py", line 264, in value_inference
File "acuitylib/converter/onnx/onnx_util.py", line 316, in __run_node
File "acuitylib/converter/onnx/onnx_util.py", line 316, in __run_node
File "acuitylib/converter/onnx/onnx_util.py", line 316, in __run_node
[Previous line repeated 12 more times]
File "acuitylib/converter/onnx/onnx_util.py", line 336, in __run_node
File "acuitylib/onnx_ir/onnx_numpy_backend/onnx_backend.py", line 320, in run_node
File "acuitylib/onnx_ir/scanner/onnx_util.py", line 63, in init
AttributeError: op_type
[18] Failed to execute script 'pegasus' due to unhandled exception!Does anyone know the cause and how to fix it?
-
same issue !
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号