Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnx转换报错 #13

Open
1124676457 opened this issue Mar 1, 2022 · 0 comments
Open

onnx转换报错 #13

1124676457 opened this issue Mar 1, 2022 · 0 comments

Comments

@1124676457
Copy link

Traceback (most recent call last):
File "onnx_exporter.py", line 232, in
check(args, dummy_input, check_onnx=True, check_trt=False)
File "onnx_exporter.py", line 127, in check
sess = rt.InferenceSession(args.out)
File "/home/tao/anaconda3/lib/python3.8/site-packages/onnxruntime/capi/session.py", line 195, in init
self._create_inference_session(providers, provider_options)
File "/home/tao/anaconda3/lib/python3.8/site-packages/onnxruntime/capi/session.py", line 205, in _create_inference_session
sess.initialize_session(providers or [], provider_options or [])
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Node (Concat_601) Op (Concat) [ShapeInferenceError] Can't merge shape info. Both source and target dimension have values but they differ. Source=49 Target=48 Dimension=2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant