You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried onnx-mlir with the ONNX 1.0 MNIST model from here [1]. It looks like every node has an undefined datatype which seems wrong and crashes the tool. If I use the ONNX 1.2 MNIST model from the same website the tool works.
ImportNode=Constant
'value' undefined
Assertion failed: (false && "datatype for attribute is not implemented"), function convertAttributeProtoToNameValuePair, file /onnx-mlir/src/Builder/FrontendDialectTransformer.cpp, line 227.
The text was updated successfully, but these errors were encountered:
aaronsm
changed the title
Undefined attribute when importing ONNX 1.0 MNIST model
Undefined datatype for attribute when importing ONNX 1.0 MNIST model
Mar 20, 2020
What version of ONNX is supported?
I tried onnx-mlir with the ONNX 1.0 MNIST model from here [1]. It looks like every node has an undefined datatype which seems wrong and crashes the tool. If I use the ONNX 1.2 MNIST model from the same website the tool works.
$ ./onnx-mlir --EmitONNXIR mnist/model.onnx -debug
ImportNode=Constant
'value' undefined
Assertion failed: (false && "datatype for attribute is not implemented"), function convertAttributeProtoToNameValuePair, file /onnx-mlir/src/Builder/FrontendDialectTransformer.cpp, line 227.
[1] https://github.com/onnx/models/tree/master/vision/classification/mnist
The text was updated successfully, but these errors were encountered: