You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) but shouldn't it be something like area = ((boxes[:, 3] - boxes[:, 1]) + 1) * ((boxes[:, 2] - boxes[:, 0]) + 1) for calculating areas? If I am wrong, can someone explain me why is it so. Thanks in advance !
Uh oh!
There was an error while loading. Please reload this page.
I see that at https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html,
area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0])
but shouldn't it be something likearea = ((boxes[:, 3] - boxes[:, 1]) + 1) * ((boxes[:, 2] - boxes[:, 0]) + 1)
for calculating areas? If I am wrong, can someone explain me why is it so. Thanks in advance !cc @datumbox @nairbv
The text was updated successfully, but these errors were encountered: