nbigaouette / onnxruntime-rs

Rust wrapper for Microsoft's ONNX Runtime (version 1.8)
Apache License 2.0
283 stars 100 forks source link

expand api error msg #50

Closed ccbrown closed 3 years ago

ccbrown commented 3 years ago

Previously this error message would read for example like:

Failed to create session: Error calling ONNX Runtime C function

This is pretty useless.

Now it reads for example like:

Failed to create session: Error calling ONNX Runtime C function: Could not find an implementation for the node StatefulPartitionedCall/yolo_v3/non_max_suppression_padded/PartitionedCall/TopKV2:TopK(11)

Which is much more informative and actionable. :)

nbigaouette commented 3 years ago

Absolutely! :D

Thanks a lot for you contributions 👍