I am trying to understand the concept of Faster RCNN.
For example, in an image(224×224), there are only two objects. To create a mini-batch of anchors of length 256(128-Foreground, 128-background) from the image, I get only 30 anchors which IOU is greater than 0.7 when compared with the ground truth bounding box.
In this situation, how should I make the foreground objects balanced with background?