Closed dextroza closed 1 year ago
do you have same postprocess logic on both pc side and zcu104 side? You only provided 1 url for the zcu104 postprocess, and I don't know your code on pc side.
quantized model and compiled model normally have similar but not exact same prediction result.
the xnnpp lib is only in c++ format.
Hi, we already solved this issue long time ago, but thanks! I will close this issue.
Hi, we are experimenting with ofa_yolo model, provided by Xilinx: pt_OFA-yolo_coco_640_640_0.5_24.62G_2.5
We want to reproduce the same predictions both on host PC and ZCU104. We managed to get predictions for one image of quantized and predictions of compiled model, but they are not equal. We checked preprocessing and it seems equal. We also checked postprocessing code, but we are not sure if they are equal.
Postprocessing code for hw: ofa_yolo_postprocess
Environment: Vitis AI docker 2.5 1xDPU B4096, petalinux 22.1, ZCU104
Could you help us with that, please? Should models from model zoo have equal predictions for quantized model on PC and compiled model on embedded device? Do you have any pytorch yolo examples where python and c++ postprocessing are equal?
Regards dextroza