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