Exercise 2 _IOU

hi , I could not understand ,what is the error here.



image
please help me to resolve.
Thank you

The hints you circled about inter_area are not related to the problem, if you instead used max() in computing the inter_width and inter_height.

Else, somewhere in your code, you’re not computing the correct values.

Hi Tmosh ,
please see my code,i could not able to find out.

{moderator edit - solution code removed}

Since you didn’t use max() in computing inter_width or inter_height, why are you ignoring the hint about using max() in computing inter_area?

Thank you got solutuin