Unified · Split
| @@ -157,7 +157,7 @@ static int dnn_detect_parse_yolo_output(AVFrame *frame, DNNData *output, int out · 156 unmodified lines | ||
| 157 | 157 | float *output_data = output[output_index].data; |
| 158 | 158 | float *anchors = ctx->anchors; |
| 159 | 159 | AVDetectionBBox *bbox; |
| 160 | − float (*post_process_raw_data)(float x); | |
| 160 | + float (*post_process_raw_data)(float x) = linear; | |
| 161 | 161 | int is_NHWC = 0; |
| 162 | 162 | |
| 163 | 163 | if (ctx->model_type == DDMT_YOLOV1V2) { |