onnxruntime-web-tutorial icon indicating copy to clipboard operation
onnxruntime-web-tutorial copied to clipboard

Error: failed to load resource

Open HaotianHuang opened this issue 3 years ago • 2 comments

Currently cloned this repo and hosted it locally, but inferencing always returns "image is undefined" and console has two errors:

» Failed to load resource: the server responded with a status of 404 (Not Found) » Error: input 'input. 1' is missing in 'feeds',

Unsure what I've done wrong, assistance would be greatly appreciated!

HaotianHuang avatar Jul 01 '22 12:07 HaotianHuang

I suspect you didn't create assets/model.onnx? If not you can do so by running python src/onnx_model.py

mxkrn avatar Jul 04 '22 07:07 mxkrn

Let me try that and get back to you!

HaotianHuang avatar Jul 08 '22 13:07 HaotianHuang