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

error in onnx generator while generating for SVM #2

Open
kkunal1408 opened this issue Apr 9, 2022 · 0 comments
Open

error in onnx generator while generating for SVM #2

kkunal1408 opened this issue Apr 9, 2022 · 0 comments

Comments

@kkunal1408
Copy link

While trying onnx generator I am getting this traceback error:
Traceback (most recent call last):
File "benchmarks/onnx_files/onnx_generator.py", line 306, in
create_svm(*features, args.optimize_model)
File "benchmarks/onnx_files/onnx_generator.py", line 222, in create_svm
model_proto = optimizer.optimize(model_proto, ['eliminate_identity'])
File "general/lib/python3.8/site-packages/onnx/optimizer.py", line 55, in optimize
optimized_model_str = C.optimize(model_str, passes)
IndexError: Input sub/x:0 is undefined!

I have provided the optimization flag as false "-o False"

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