Closed
Description
Describe the issue
The error message "Uncaught (in promise) 12768952" is logged to the console when running inference on this model with ORT Web.
This model was converted from a tflite model using this notebook - there were no errors or warnings. There were some initial conversion troubles, but after some fixes (see that issue for details), the conversion process appears to be fixed.
To reproduce
Minimal example: https://jsbin.com/finulodeji/edit?html,output
Full code from that example, for quick reference:
<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web@1.12.1/dist/ort.js"></script>
<script>
async function start() {
console.log("Loading model...")
let session = await ort.InferenceSession.create("https://huggingface.co/rocca/lyra-v2-soundstream/resolve/main/onnx/soundstream_encoder.onnx", { executionProviders: ["wasm"] });
console.log("Running inference");
let feeds = {"serving_default_input_audio:0": new ort.Tensor('float32', new Float32Array(320).fill(0), [1,320])};
let results = await session.run(feeds);
console.log("Results:", results);
}
start();
</script>
Urgency
No strict deadlines. It is blocking the process of trying to get Google's new Lyra V2 model working in the browser.
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.12.1
Execution Provider
WASM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment