Get Sample ROIs from torchvision's Faster RCNN

Hi, I want to get the sample ROIs in torchvision’s Faster RCNN (Please see red blob in the attached image). How do you go about it?

Apologies for a novice question.

The sample rois is controlled by the box_batch_size_per_image parameter