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 | diounms_sort (detection *dets, int total, int classes, float thresh, NMS_KIND nms_kind, float beta1) |
This is part of the original C API. Non Maxima Suppression. | |
void | do_nms (Darknet::Box *boxes, float **probs, int total, int classes, float thresh) |
void | do_nms_obj (detection *dets, int total, int classes, float thresh) |
This is part of the original C API. Non Maxima Suppression. | |
void | do_nms_sort (detection *dets, int total, int classes, float thresh) |
This is part of the original C API. Non Maxima Suppression. | |
void | do_nms_sort_v2 (Darknet::Box *boxes, float **probs, int total, int classes, float thresh) |
dxrep | dx_box_iou (const Darknet::Box &pred, const Darknet::Box &truth, 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) |
void | test_box () |
void | test_dintersect () |
void | test_dunion () |
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 diounms_sort | ( | detection * | dets, |
int | total, | ||
int | classes, | ||
float | thresh, | ||
NMS_KIND | nms_kind, | ||
float | beta1 | ||
) |
This is part of the original C
API. Non Maxima Suppression.
void do_nms | ( | Darknet::Box * | boxes, |
float ** | probs, | ||
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
void do_nms_obj | ( | detection * | dets, |
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
This is part of the original C
API. Non Maxima Suppression.
void do_nms_sort | ( | detection * | dets, |
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
This is part of the original C
API. Non Maxima Suppression.
void do_nms_sort_v2 | ( | Darknet::Box * | boxes, |
float ** | probs, | ||
int | total, | ||
int | classes, | ||
float | thresh | ||
) |
dxrep dx_box_iou | ( | const Darknet::Box & | pred, |
const Darknet::Box & | truth, | ||
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 | ||
) |
void test_box | ( | ) |
void test_dintersect | ( | ) |
void test_dunion | ( | ) |