YOLO's confidence for a box is the probability that an object is there times how well the box fits it. A box that is well placed but empty scores low, and so does a box on an object it misses.
Implement confidence(obj, iou_val), returning the product of the object probability and the IoU.
Multiply the two numbers.
No results yet
Run your code to check it against the examples, or submit to run every test.