YAD2K
YAD2K copied to clipboard
yolo_loss
in yolo_loss function
when calculateno_object_weights = (no_object_scale * (1 - object_detections) *(1 - detectors_mask))
should no_object_weights = (no_object_scale * (object_detections) *(1 - detectors_mask))
since no_object_weights is only activated when the iou between predicted boxes and ground truth is larger than 0.6 and detectors_mask=0
.
I have a little confuse with the loss function:
why not only use detector_mask to judge the box have box or not, why still need to get the object_detections,
any help is appreciate ,thanks in advance,