Bounding Box Predictions - Question on bh and bw

In the video Specifying the bounding boxes starting around 11:30,

The width of the bounding box is 90% of the width of the grid cell and the height of the bounding box is one half of the height of grid cell.

So I thought that bh will be .9 and bw .5, but in the video it is the other way around bh .5 and hw .9

Can someone please clarify how this is derived

1 Like

In bh the “h” is for “height” not “horizontal”, right? Please read what you wrote again. It sounds correct to me. bw is for “width”, right?

1 Like

Actually, in the video around 11:25 when professor says “So, the width of this red box is maybe 90% of that blue line. And so bh is 0.5”, which is what is throwing me off and proceeds to write bh as .5
Because I was expecting it to be “So, the width of this red box is maybe 90% of that blue line. And so bw is 0.9” and this to be associated with bw in the writing

Please let me know if I am mixing up things

1 Like

But that’s what you said in your original post. So the clear translation of that sentence is that bw (the width of the box) is 0.9 and bh (the height of the bounding box) is 0.5.

So what is it about that which you have a problem with?

1 Like

Let me see if this explains my confusion better, why does professor calculate bh based on the width of the grid of the box and not based on the height. I am guessing now that this might have just been a simple mix-up

1 Like

https://community.deeplearning.ai/search?q=Bw%20bh%20video

Previous related threads

1 Like

Thank you, so do I get a candy too…lol