Error loading ONNX model

I tried loading onnx model using dnn on Rust and I get the following error what does this error mean
Error { code: -204, message: “OpenCV(4.2.0) …/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "split" not found into dictionary in function ‘get’\n” }

1 Like

could you please replace the (useless here) screenshot with TEXT ? thank you

  • rust is involved, contact maintainers of package/wrapper
  • opencv v4.2.0 is outdated
  • gstreamer is involved. make sure it works.

Error { code: -204, message: “OpenCV(4.2.0) …/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "split" not found into dictionary in function ‘get’\n” }

I got the error in the cpp header file (dnn.inl.hpp) file. The maintainer of the repository also mentioned the same thing

  • really, update to current 4.8.1
    (most likely the problem is gone today …)
  • which onnx model are we talking about ?
    did you train / export this ?
  • are you able to debug it ? get a stacktrace ?