Skip to content

Predict is aborted with a .tflite model #8426

Closed
@lhofinger

Description

@lhofinger

Hello,

System information

Describe the current behavior
Trying to use BirdNET model https://github.com/rdz-oss/BattyBirdNET-Analyzer/raw/refs/heads/main/checkpoints/V2.4/BirdNET_GLOBAL_6K_V2.4_Model_FP32.tflite

But I get this error:
classif.js:22 Error: RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
at abort (tflite_web_api_cc_simd.js:9:6515)
at abort (tflite_web_api_cc_simd.js:9:60528)
at tflite_web_api_cc_simd.wasm:0x1baad
at tflite_web_api_cc_simd.wasm:0x2e1f87
at tflite_web_api_cc_simd.wasm:0x2f907
at tflite_web_api_cc_simd.wasm:0x522f0
at tflite_web_api_cc_simd.wasm:0x32b150
at tflite_web_api_cc_simd.wasm:0x17e14
at TFLiteWebModelRunner.TFLiteWebModelRunner$Infer [as Infer] (eval at new
(tflite_web_api_cc_simd.js:9:33059), :8:10)
at module$exports$google3$third_party$tensorflow_lite_support$web$tflite_web_api_client.TFLiteWebModelRunner.infer (tflite_web_api_client.js:2714:188)

The same code, with a simple model is not aborting.

Standalone code to reproduce the issue
Simple code with issue: https://www.paludour.net/bats/classification.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions