This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: custom model config error

Part Number: SK-TDA4VM

Hello.

I am debugging the default example using the command "./edgeai-gst-apps/apps_python/app_edgeai.py ./edgeai-gst-apps/configs/object_detection.yaml" with SK-TDA4VM.

I would like to use a separately trained model instead of the default model "model/yolox_nano_lite_416x416_20220214_model.onnx."

However, when I change the model_path in "param.yaml" to the model I want to use and run it, I get the following error.

Exception has occurred: RuntimeException
[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /root/dlrt-build/onnx/onnxruntime/include/onnxruntime/core/graph/graph.h:1299 onnxruntime::Node* onnxruntime::Graph::NodeAtIndexImpl(onnxruntime::NodeIndex) const node_index < nodes_.size() was false. Validating no unexpected access using an invalid node_index. Got:438742592 Max:208
  File "/opt/edgeai-gst-apps/apps_python/edge_ai_class.py", line 104, in __init__
    model_obj = ModelConfig(model_path,enable_tidl,core_id)
  File "/opt/edgeai-gst-apps/apps_python/app_edgeai.py", line 46, in main
    demo = EdgeAIDemo(config)
  File "/opt/edgeai-gst-apps/apps_python/app_edgeai.py", line 67, in <module>
    main(sys.argv)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /root/dlrt-build/onnx/onnxruntime/include/onnxruntime/core/graph/graph.h:1299 onnxruntime::Node* onnxruntime::Graph::NodeAtIndexImpl(onnxruntime::NodeIndex) const node_index < nodes_.size() was false. Validating no unexpected access using an invalid node_index. Got:438742592 Max:208

I'm looking for advice to resolve the error.

Thank you in advance for your response.