Classes | |
struct | dbox |
struct | detection_with_class |
Functions | |
float | box_ciou (const Darknet::Box &a, const Darknet::Box &b) |
float | box_diou (const Darknet::Box &a, const Darknet::Box &b) |
float | box_giou (const Darknet::Box &a, const Darknet::Box &b) |
float | box_iou (const Darknet::Box &a, const Darknet::Box &b) |
float | box_iou_kind (const Darknet::Box &a, const Darknet::Box &b, const IOU_LOSS iou_kind) |
float | box_rmse (const Darknet::Box &a, const Darknet::Box &b) |
Darknet::Box | decode_box (const Darknet::Box &b, const Darknet::Box &anchor) |
dbox | diou (const Darknet::Box &a, const Darknet::Box &b) |
void | do_nms (Darknet::Box *boxes, float **probs, int total, int classes, float thresh) |
void | do_nms_sort_v2 (Darknet::Box *boxes, float **probs, int total, int classes, float thresh) |
dxrep | dx_box_iou (const Darknet::Box &a, const Darknet::Box &b, const IOU_LOSS iou_loss) |
Darknet::Box | encode_box (const Darknet::Box &b, const Darknet::Box &anchor) |
Darknet::Box | float_to_box (const float *f) |
Darknet::Box | float_to_box_stride (const float *f, const int stride) |
detection_with_class * | get_actual_detections (const Darknet::Detection *dets, int dets_num, float thresh, int *selected_detections_num, const Darknet::VStr &names) |
Creates array of detections with prob > thresh and fills best_class for them Return number of selected detections in *selected_detections_num. | |
float box_ciou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
float box_diou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
https://github.com/Zzh-tju/DIoU-darknet https://arxiv.org/abs/1911.08287
float box_giou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
float box_iou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
float box_iou_kind | ( | const Darknet::Box & | a, |
const Darknet::Box & | b, | ||
const IOU_LOSS | iou_kind | ||
) |
float box_rmse | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
Darknet::Box decode_box | ( | const Darknet::Box & | b, |
const Darknet::Box & | anchor | ||
) |
dbox diou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b | ||
) |
true
due to the "|| 1"
comparison. That line was changed by AlexeyAB on 2019-11-23. Was that an accident? Should the code below never run? Or was this a debug modification that was accidentally left in the code? void do_nms | ( | Darknet::Box * | boxes, |
float ** | probs, | ||
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
void do_nms_sort_v2 | ( | Darknet::Box * | boxes, |
float ** | probs, | ||
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
dxrep dx_box_iou | ( | const Darknet::Box & | a, |
const Darknet::Box & | b, | ||
const IOU_LOSS | iou_loss | ||
) |
Darknet::Box encode_box | ( | const Darknet::Box & | b, |
const Darknet::Box & | anchor | ||
) |
Darknet::Box float_to_box | ( | const float * | f | ) |
Darknet::Box float_to_box_stride | ( | const float * | f, |
const int | stride | ||
) |
detection_with_class * get_actual_detections | ( | const Darknet::Detection * | dets, |
int | dets_num, | ||
float | thresh, | ||
int * | selected_detections_num, | ||
const Darknet::VStr & | names | ||
) |
Creates array of detections with prob > thresh and fills best_class for them Return number of selected detections in *selected_detections_num.