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
ERROR burn_import::logger: PANIC => panicked at /home/simon/Data1/GIT/Rust/burn/crates/burn-import/src/onnx/dim_inference.rs:820:14:
Only tensor indices is valid
As you correctly pointed out the issue is with the gather node.
We check for the inputs to make sure they are in accordance with the spec, but when checking for the indices we expect a tensor but your model uses a scalar (rank 0 tensor) - which is still valid according to the spec but currently will run into issues with the rest of the codegen for Burn (see issue #1689).
Also I just realized your model was generated with an older opset (v9) and we might not support all of the ops there. Right now the ops we have should support the latest ops at opset 13. Some also have support for older opset but not all (e.g., Slice which I see in your model is opset v1 and we don't parse the attributes).
The ONNX spec is large and our bandwidth for that is a bit limited.
Describe the bug
Error during importing the detector model:
To Reproduce
src/model/detector.onnx
build.rs
What I've figured out so far
The text was updated successfully, but these errors were encountered: