mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
[Bug Fix] fixed labels setting of YOLOv5 (#1213)
修复自己训练的yolov5无法指定label个数的错误
This commit is contained in:
@@ -141,7 +141,6 @@ int RKYOLOPostprocessor::ProcessFP16(float* input, int* anchor, int grid_h,
|
||||
} else {
|
||||
limit_score = box_conf_f32 * class_prob_f32;
|
||||
}
|
||||
// printf("limit score: %f", limit_score);
|
||||
if (limit_score > conf_threshold_) {
|
||||
float box_x, box_y, box_w, box_h;
|
||||
if (anchor_per_branch_ == 1) {
|
||||
|
Reference in New Issue
Block a user