Skip to content

error in onnx generator while generating for SVM  #2

Description

@kkunal1408

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions