Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3: Onnx createInferenceSession wasmPaths and logLevel #744

Open
wants to merge 7 commits into
base: v3
Choose a base branch
from

Conversation

Th3G33k
Copy link

@Th3G33k Th3G33k commented May 8, 2024

With v3, in web environment, using relative path (eg 'dist', '/dist') for env.backends.onnx.wasm.wasmPaths, doesn't seem to work.

Uncaught (in promise) Error: no available backend found. ERR: [wasm] TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from dist/v3/ort-wasm-simd.jsep.wasm

This PR should fix it.

@Th3G33k Th3G33k changed the title v3: wasmPaths relative path v3: Onnx createInferenceSession wasmPaths and logLevel May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant