escorciav / roi_pooling

ROIPooling for pytorch
51 stars 13 forks source link

trying to undestand the batch_size #6

Closed isalirezag closed 5 years ago

isalirezag commented 5 years ago

Thank you for your code, I have a little confusion to understand the procedure. Sorry if my question is stupid. I am looking at the test case that you provided.

So based on my understanding the batch_size in output y is the number of rois? am I correct? if that is the case so what will happen to batch_sizes in the input. in other words, let say my input has shape of torch.Size([2, 4, 12, 8]) and I have 4 rois, so the output will be in size of torch.Size([4, 4, 5, 7]), should the output be in size of torch.Size([2, 4, 4, 5, 7])?

escorciav commented 5 years ago

Thanks for your interest in our work.

No need to apologize 👍