Hello,
I'm currently stuck to compile my custom YOLOV11 or YOLOV8 model to FP16 precision for RCV4 platform. I archieved to compile to INT8 precision with hub.luxonis.com, but when I'm trying to it offline the outputs of my onnx model seems to be different of the one that were used for the compilation on hub.luxonis.com.
So my question is how to know the outputs ( and their attributes: data_type, shape, layout ) with my .onnx model that I have to put in the config file ?
My current config file for compilation :
input_model: ./models/rt-tray.onnx
mean_values:
- 0
- 0
- 0
scale_values:
- 255
- 255
- 255
keep_intermediate_outputs: true
calibration:
path: ./calibration_data
max_images: 200
inputs:
- name: images
data_type: float32
shape:
- 1
- 3
- 640
- 640
layout: NCHW
outputs:
- name: output1_yolov11
data_type: float32
shape:
- 1
- 80
- 80
- 93
layout: NDEC
- name: output2_yolov11
data_type: float32
shape:
- 1
- 40
- 40
- 93
layout: NDEC
- name: output3_yolov11
data_type: float32
shape:
- 1
- 20
- 20
- 93
layout: NDEC
rvc4:
snpe_onnx_to_dlc_args: []
snpe_dlc_quant_args: []
snpe_dlc_graph_prepare_args: []
keep_raw_images: false
use_per_channel_quantization: true
use_per_row_quantization: false
htp_socs:
- sm8550
compress_to_fp16: true