Convert ONNX model with ksnn-convert

Which Khadas SBC do you use?


Which system do you use? Android, Ubuntu, OOWOW or others?


Which version of system do you use? Khadas official images, self built images, or others?

Official image.

Please describe your issue below:


I am looking at the conversion tool documentation in Instructions for KSNN conversion tool [Khadas Docs]

I am trying to conver an ONNX model to use it with KSNN.

There are some parametters I don’t understand in the conversion tool.
They are:

  • mean-values
  • inputs
  • outputs
  • source-files

Can you give me an explanation on what each one of these is, please? And why do I need them to convert a model? This is not explained in the documentation so it’s difficult for me to get a working model by trial and error.