microsoft / microsoft/onnxruntime-inference-examples
How do I load models with external data in web/wasm?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 414
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 14
Description
await ort.InferenceSession.create(... allows to pass a single file, but the model is split into multiple external _data files. Is it possible to load the files in wasm?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the web/wasm entry point ort.InferenceSession.create and inspect the related web examples and model-loading documentation. Determine whether models split across external _data files can be loaded there; done means documenting or demonstrating a supported way to load all required files, or clearly recording that it is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- machine-learning, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100