Could you please explain why rois has 5 dimensions?
Here's a full tutorial I wrote on how to use ROIs from this repo: https://medium.com/@andrewjong87/how-to-use-roi-pool-and-roi-align-in-your-neural-networks-pytorch-1-0-b43e3d22d073
TL;DR: it's for image_id, upper-left_x, upper-left_y, lower-right_x, lower-right_y
Thanks a lot for your reply. This tutorial is definitely helpful and has cleared my confusion.
You're welcome! Please close the issue if your question has been resolved.
Most helpful comment
Here's a full tutorial I wrote on how to use ROIs from this repo: https://medium.com/@andrewjong87/how-to-use-roi-pool-and-roi-align-in-your-neural-networks-pytorch-1-0-b43e3d22d073
TL;DR: it's for image_id, upper-left_x, upper-left_y, lower-right_x, lower-right_y