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 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 !
cc @datumbox @nairbv