Open xiongzhu666 opened 3 years ago
好,我明天看一下
xiongzhu666 notifications@github.com 于 2021年2月24日周三 下午8:08写道:
Describe the bug A clear and concise description of what the bug is. Simplifying... Traceback (most recent call last): File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 193, in
run_module_as_main "main", mod_spec) File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim_main.py", line 90, in main() File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim_main.py", line 78, in main custom_lib=args.custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 465, in simplify model = fixed_point(model, infer_shapes_and_optimize, constant_folding) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 366, in fixed_point x = func_b(x) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 459, in constant_folding custom_lib=custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 219, in forward_for_node_outputs custom_lib=custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 185, in forward ), sess_options=sess_options, providers=['CPUExecutionProvider']) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 206, in init self._create_inference_session(providers, provider_options) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 228, in _create_inference_session sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Node (Transpose_16) Op (Transpose) [TypeInferenceError] Invalid attribute perm {0, 2, 1}, input shape = {0}
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daquexian/onnx-simplifier/issues/127, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYRZHYIZUD3IYSGR3KROY3TATT2LANCNFSM4YEMRPWA .
你好,请问泥有给我发模型吗
On Wed, 24 Feb 2021 at 21:41, quexian da daquexian566@gmail.com wrote:
好,我明天看一下
xiongzhu666 notifications@github.com 于 2021年2月24日周三 下午8:08写道:
Describe the bug A clear and concise description of what the bug is. Simplifying... Traceback (most recent call last): File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 193, in
run_module_as_main "main", mod_spec) File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim_main.py", line 90, in main() File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim_main.py", line 78, in main custom_lib=args.custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 465, in simplify model = fixed_point(model, infer_shapes_and_optimize, constant_folding) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 366, in fixed_point x = func_b(x) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 459, in constant_folding custom_lib=custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 219, in forward_for_node_outputs custom_lib=custom_lib) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 185, in forward ), sess_options=sess_options, providers=['CPUExecutionProvider']) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 206, in init self._create_inference_session(providers, provider_options) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 228, in _create_inference_session sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Node (Transpose_16) Op (Transpose) [TypeInferenceError] Invalid attribute perm {0, 2, 1}, input shape = {0}
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daquexian/onnx-simplifier/issues/127, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYRZHYIZUD3IYSGR3KROY3TATT2LANCNFSM4YEMRPWA .
Describe the bug A clear and concise description of what the bug is. Simplifying... Traceback (most recent call last): File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "D:\Anaconda3\envs\py3.6\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim__main.py", line 90, in
main()
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\ main.py", line 78, in main
custom_lib=args.custom_lib)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 465, in simplify
model = fixed_point(model, infer_shapes_and_optimize, constant_folding)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 366, in fixed_point
x = func_b(x)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 459, in constant_folding
custom_lib=custom_lib)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 219, in forward_for_node_outputs
custom_lib=custom_lib)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxsim\onnx_simplifier.py", line 185, in forward
), sess_options=sess_options, providers=['CPUExecutionProvider'])
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 206, in init__
self._create_inference_session(providers, provider_options)
File "C:\Users\nubia\AppData\Roaming\Python\Python36\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 228, in _create_inference_session
sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Node (Transpose_16) Op (Transpose) [TypeInferenceError] Invalid attribute perm {0, 2, 1}, input shape = {0}