JDAI-CV / DNNLibrary

Daquexian's NNAPI Library. ONNX + Android NNAPI
Apache License 2.0
346 stars 59 forks source link

The input graph doesn't have dim_value #77

Open sufiaji opened 4 years ago

sufiaji commented 4 years ago

Hi, Try to convert onnx to daq in Ubuntu but error thrown.

Screenshot from 2020-06-11 22-26-54

Then I tried to simplify onnx model in https://convertmodel.com/ but error persist. Please advise. Thanks

sufiaji commented 4 years ago

Hi, If I choose option Optimize, then model cannot be converted as below message. Please advise.

Screenshot from 2020-06-11 22-32-52

sufiaji commented 4 years ago

Hi,

I think the error is because I have 0 on dim_value. I edit my onnx model and regenerate new onnx. Now I have another error: Unsupported operator TreeEnsembleClassifier. Does this tools support Tree Ensemble Classifier? Thanks

daquexian commented 4 years ago

Hi,

I think the error is because I have 0 on dim_value. I edit my onnx model and regenerate new onnx. Now I have another error: Unsupported operator TreeEnsembleClassifier. Does this tools support Tree Ensemble Classifier? Thanks

Thanks for your issue. Unfortunately dnnlibrary does not support TreeEnsembleClassifier, which is a classic ML op and not supported by NNAPI.

However, I'll improve the error message when there is a 0 on dim_value :)