ONNX转换Kmodel问题

Viewed 39

问题描述


复现步骤


只要使用python to_kmodel.py --target k230 --model ../../runs/detect/train/weights/best.onnx --dataset ../test --input_width 320 --input_height 320 --ptq_option 0命令就会出现上述问题

硬件板卡


定制版

软件版本


none

其他信息


Name: nncase Version: 2.10.0
Name: nncase-kpu Version: 2.10.0
Name: onnxsim Version: 0.4.36
Name: onnx Version: 1.16.0
Name: onnxruntime Version: 1.19.2
.net 版本:7.0.410
Python 3.12.3

1 Answers

onnx版本的问题,降一下版本吧

好的,我这个版本是看这个回答来配的,有其他版本推荐吗 https://www.kendryte.com/answer/questions/10010000000008571

那应该不会有问题