Modifying the Faster RCNN in torchvision

Hello all, I am trying to train the faster RCNN with resnet50 backbone, however, I want to use the model to just give me the region proposals, and no classes or scores essentially just use the region proposal network. Could anyone please tell me how could I do it…
TIA