[Apache TVM Discuss] [Questions] How to get an example to use resnet50 with pure wasm?

2022-01-06 Thread Nigel Amers via Apache TVM Discuss
Thank you for your reply! I have another question: Does TVM support WEBGL? It seems onnx.js faster than tvm. --- [Visit Topic](https://discuss.tvm.apache.org/t/how-to-get-an-example-to-use-resnet50-with-pure-wasm/11856/3) to respond. You are receiving this because you enabled mailing lis

[Apache TVM Discuss] [Questions] Mix tvmc and Python API

2022-01-06 Thread Andrew Reusch via Apache TVM Discuss
@huanchunye it should be possible, yes. however, it depends on the format you use to export from tvmc (for example, Model Library Format is not meant to be loaded using `load_module`). could you give some more detail of what you're trying to do? --- [Visit Topic](https://discuss.tvm.apach

[Apache TVM Discuss] [Application] Q: yolo v5 & TVM?

2022-01-06 Thread Tom Gall via Apache TVM Discuss
Hi, I'm hacking on yolo v5 (on aarch64) with TVM. Just wondering if anyone has already worked with yolo v5 and TVM? No point in reinventing the wheel, likewise happy to work together with others that would have a similar interest. Thanks! --- [Visit Topic](https://discuss.tvm.apache.org/

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread Wheest via Apache TVM Discuss
You say that the output is not correct, can you provide a reproducible example of what model you are running, and how? Perhaps there is an issue there. To answer your question, [this part of the documentation](https://tvm.apache.org/docs/arch/debugger.html#how-to-use-debugger) takes you thro

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread chenugray via Apache TVM Discuss
> All the tensors will be saved as binary bytes in serialized format. The > result binary bytes can be loaded by the API “load_params”. how can we achive binary bytes in serialized format? does "./_tvmdbg_device_CPU_0/output_tensors.params" contains all layers outputs? then we get data, how to

[Apache TVM Discuss] [Questions] How to get an example to use resnet50 with pure wasm?

2022-01-06 Thread Wheest via Apache TVM Discuss
The [original TVM WASM blogpost](https://tvm.apache.org/2020/05/14/compiling-machine-learning-to-webassembly-and-webgpu) has a link to a [codebase which uses WASM for the host-code, and WebGPU for the kernels](https://github.com/tqchen/tvm-webgpu-example). The pipeline might have changed a li

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread Wheest via Apache TVM Discuss
Sure, you can see an example of how to use the `debug_executor` in [this part of the docs](https://tvm.apache.org/docs/arch/debugger.html#how-to-use-debugger). The tensors will be dumped to a file, and you can then load this data using code such as: ```python data = relay.load_param_dict(by

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread chenugray via Apache TVM Discuss
thx, could u give me some concrete example? --- [Visit Topic](https://discuss.tvm.apache.org/t/what-if-the-result-is-not-correct/11858/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.o

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread Wheest via Apache TVM Discuss
Hi there, you can use the `debug_executor` to get the intermediate results. You can see details [discussed in this forum thread](https://discuss.tvm.apache.org/t/tvm-runtime-print-intermediate-outputs/10124). You will need to have a ground truth to compare against, depending on what framework

[Apache TVM Discuss] [Questions] What if the result is not correct?

2022-01-06 Thread chenugray via Apache TVM Discuss
@tqchen Any Methods to debug to know which intermediate layer outputs is not correct. i seach the whole formu, but cant get answer. --- [Visit Topic](https://discuss.tvm.apache.org/t/what-if-the-result-is-not-correct/11858/1) to respond. You are receiving this because you enabled mailing