error log | 日志或报错信息 | ログ
context | 编译/运行环境 | バックグラウンド
I am trying to convert WHEnet model to ncnn. Onnxruntime gives correct output but ncnn inference shows nan outputs.
how to reproduce | 复现步骤 | 再現方法
- onnx2ncnn onnx model.
- run ncnn inference on converted model and print outputs
I have uploaded the onnx & ncnn models.
whenettf_bs1.zip
1条答案
按热度按时间xam8gpfp1#
针对onnx模型转换的各种问题,推荐使用最新的pnnx工具转换到ncnn
In view of various problems in onnx model conversion, it is recommended to use the latest pnnx tool to convert your model to ncnn
详细参考文档
Detailed reference documentation
https://github.com/pnnx/pnnx
https://github.com/Tencent/ncnn/wiki/use-ncnn-with-pytorch-or-onnx#how-to-use-pnnx