A reliable RKNN delivery must be able to answer which SoC the model was converted to, which tool set was used to generate it, and which target image it was verified on. Delivering these facts together with the model is more efficient than storing a separate transformation script.
Leave an identity for each product
Record the check values, conversion tool version, target platform, input size, quantization configuration and sample input of the original model and RKNN file. The board end then records the actual loaded runtime, driver information, system image and application version. The libraries installed on the development machine do not represent the ones loaded by the target process.
Put a recognizable acceptance picture
Select a picture whose location, category and quantity are easy to manually check, and save the tolerance between the input preprocessing results and the expected output. After deployment, run the official reference program first, and then run the business program. When the former succeeds and the latter fails, the scope can be narrowed down to input processing, linking, or post-processing.
How to roll back when a problem occurs
Keep the last passed model, program and operating environment description in groups. If an abnormality occurs after replacing the model, first use the original acceptance diagram to recheck, and then perform single-variable rollback. This record can also help the two teams confirm whether the “same model” is really the same document.
What to save in a row when deploying and handing over
| object | Questions that must be answered |
|---|---|
| Model | What is the target SoC and file summary? |
| Conversion | Which version of the tool processed which set of input |
| Board end | Which library is actually loaded by the application? |
| Acceptance | What output and tolerance does the fixed input correspond to? |
Board documentation and references

- ArmSoM Sige7 · hardware and interface manual · Sige7 · product page
- Rockchip RKNN-Toolkit2
- Rockchip RKNN Model Zoo
