ncnn ArgMax not supported yet! # axis=-1 # keepdims=0

icnyk63a  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(45)

error log | 日志或报错信息 | ログ

ArgMax not supported yet!
axis=-1
keepdims=0

model | 模型 | モデル

  1. original model
    model.zip

how to reproduce | 复现步骤 | 再現方法

1.!/content/ncnn/build/tools/onnx/onnx2ncnn model.onnx model.param model.bin
2. Could please let me know how to handle this error please? Many thanks for your help
3.

syqv5f0l

syqv5f0l1#

针对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

pip install pnnx
pnnx model.onnx inputshape=[1,3,224,224]

详细参考文档
Detailed reference documentation
https://github.com/pnnx/pnnx
https://github.com/Tencent/ncnn/wiki/use-ncnn-with-pytorch-or-onnx#how-to-use-pnnx

相关问题