I have been able to execute all the functions correctly but have been getting an error in the yolo_eval function.
InvalidArgumentError: Incompatible shapes: [19,19,5,4] vs. [19,19,5,80] [Op:Mul]
I am not sure where the error stems from because all the tests passed for the previous functions.
Thank you for letting me know. I tried it but the error changed to this now.
InvalidArgumentError: Incompatible shapes: [19,19,5,2] vs. [19,19,5,80] [Op:Mul]
This looks like box_confidence has (19,19,5,2) shape.
With looking at others, the most possible case is a failure in unpacking yolo_outputs, which conisists of 4 tensors.
Please double check the order of tensors to retrieve from yolo_outputs at the first line of your assignment.
box_xy: tensor of shape (None, 19, 19, 5, 2)
box_wh: tensor of shape (None, 19, 19, 5, 2)
box_confidence: tensor of shape (None, 19, 19, 5, 1)
box_class_probs: tensor of shape (None, 19, 19, 5, 80)