fasterrcnn-pytorch-training-pipeline icon indicating copy to clipboard operation
fasterrcnn-pytorch-training-pipeline copied to clipboard

Change scale and aspect ratio of RPN network

Open TerrafYassin opened this issue 3 years ago • 2 comments

TerrafYassin avatar Jul 04 '22 09:07 TerrafYassin

Hi , I need to modify the aspect ratio and scale to cover small object detection problem , and i see in your project you import RPN network from Torchvision models , how can i modify RPN network ?

TerrafYassin avatar Jul 04 '22 09:07 TerrafYassin

@TerrafYassin You can take a look at this model => https://github.com/sovit-123/fastercnn-pytorch-training-pipeline/blob/main/models/fasterrcnn_mini_darknet_mini_head.py It contains custom head and Predictor. You will get an idea of how to accomplish what you want.

sovit-123 avatar Jul 04 '22 15:07 sovit-123