Replies: 2 comments
-
It may be a tract bug, but it's hard to say without the model, the code and/or the input :) |
Beta Was this translation helpful? Give feedback.
-
@kali, Thanks for replying. There are 2 models (.onnx files), yolox_nano_with_post (This model outputs the mentioned error when I try to load model) Please let me know if you need any details. Below is my model loading and inference code.
Commented the optimized method as I was getting error for one model and no difference in value for the other model. |
Beta Was this translation helpful? Give feedback.
-
I'm coming from ort library in rust [Due to no support for wasm].
Before I code for wasm, I wanted to run the code normally.
The same model that works in ort is not working in tract
called
Result::unwrap()
on anErr
value: Evaluating #644 "main01_nonmaxsuppression11" NonMaxSuppression: output 0, expected N,3,?, got 0,3,I64Please note that I can't make changes to model as it is a public model and I can only do inferencing.
Beta Was this translation helpful? Give feedback.
All reactions