693 B
693 B
Model configuration
The YAML file next to the RKNN model is part of the deployment contract.
taskselects the task backend.modelis relative to the YAML directory.inputrecords width, height, layout, format and normalization.postprocessrecords adapter and thresholds. For Seg models,class_agnostic_nms: truesuppresses highly overlapping lower-score boxes even when their predicted class IDs differ;falsesuppresses only within the same class.labels_fileis relative to the YAML directory when present.
Do not replace only the .rknn file. Replace the model and YAML contract as a
unit, and regenerate manifest.json when any packaged file changes.