[Web] ONNX Runtime Initialization Fails with irVersion Error #22931
Labels
.NET
Pull requests that update .net code
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
I am encountering an issue with the ONNX Runtime initialization in my userscript. The error message indicates that the irVersion property is being accessed on a null object, which suggests that the ONNX model is not being loaded correctly. Additionally, the ONNX Runtime version is showing as undefined, which implies that the onnxruntime-web library might not be properly initialized or loaded.
To reproduce
Load the userscript in a browser environment
Observe the console logs for the following error
Console Logs
Related Userscript code
Model Composition
Environment Information:
Version Compatibility Check:
Model Validation: Passed ✓
Web Deployment Compatibility Check (ONNX.js):
Metadata Information:
Urgency
This issue is urgent because it blocks a critical feature in our application that relies on ONNX Runtime for real-time captcha solving. We have a project deadline approaching in two weeks, and resolving this issue is crucial for our deployment schedule.
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
Version: 1.13.1
Execution Provider
'webgl' (WebGL)
The text was updated successfully, but these errors were encountered: