Faster RCNN model makes only 100 predictions on every image. How to make the model predict dorrectly when the image has more than 100 objects?

I use Faster RCNN Predictor

My build model function

predictions = model(imgs)

predictions[0][“boxes”].len()
100

It seems you might want to change the box_detections_per_img argument in FasterRCNN.