I have already quantized and converted the model using acuity-toolkit and got nbg_unify_xxxx directory with files. But I don’t know how to build the library libnn_xxxx.so from these files to run inference using KSNN API. Is there any way to build it other than using the KSNN Convert tool?
Using ksnn is very simple. As long as you get data with a few simple APIs, you can compare the source code of different demos. There is only the difference between pre-processing and post-processing. The conversion and use of the api are exactly the same.
Thanks, I used the conversion tool and reconverted the model.
But is there a way to add data for quantization? As far as I see there is no parameter —source in convert script to specify data on which the quantization should be done