escorciav / roi_pooling

ROIPooling for pytorch
51 stars 13 forks source link

Could you elaborate why this step was done? #12

Open yajain opened 3 years ago

yajain commented 3 years ago

https://github.com/escorciav/roi_pooling/blob/3a42035ff8cccff0e9cf7a850d437145277d48f6/example.py#L26

What exactly was the reason for multiplying the tensor with 2 and then dividing by the size before doing the roi pool?