print('Average number of overlapping bounding boxes from RPN = {} for {} previous iterations (validation)'.format(mean_overlapping_bboxes,epoch_length))
ifmean_overlapping_bboxes==0:
print('RPN is not producing bounding boxes that overlap the ground truth boxes. Check RPN settings or keep training.')
parser.add_option("--output_weight_path",dest="output_weight_path",help="Output path for weights.",default='./model_frcnn.hdf5')
parser.add_option("--input_weight_path",dest="input_weight_path",help="Input path for weights. If not specified, will try to load default weights provided by keras.")