File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
torchvision/models/detection Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ class FasterRCNN(GeneralizedRCNN):
9696 for computing the loss
9797 rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
9898 of the RPN
99- rpn_score_thresh (float): during inference, only return proposals with a classification score
100- greater than rpn_score_thresh
99+ rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
101100 box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
102101 the locations indicated by the bounding boxes
103102 box_head (nn.Module): module that takes the cropped feature maps as input
Original file line number Diff line number Diff line change @@ -83,8 +83,7 @@ class KeypointRCNN(FasterRCNN):
8383 for computing the loss
8484 rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
8585 of the RPN
86- rpn_score_thresh (float): during inference, only return proposals with a classification score
87- greater than rpn_score_thresh
86+ rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
8887 box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
8988 the locations indicated by the bounding boxes
9089 box_head (nn.Module): module that takes the cropped feature maps as input
Original file line number Diff line number Diff line change @@ -84,8 +84,7 @@ class MaskRCNN(FasterRCNN):
8484 for computing the loss
8585 rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
8686 of the RPN
87- rpn_score_thresh (float): during inference, only return proposals with a classification score
88- greater than rpn_score_thresh
87+ rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
8988 box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
9089 the locations indicated by the bounding boxes
9190 box_head (nn.Module): module that takes the cropped feature maps as input
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ class RegionProposalNetwork(torch.nn.Module):
133133 contain two fields: training and testing, to allow for different values depending
134134 on training or evaluation
135135 nms_thresh (float): NMS threshold used for postprocessing the RPN proposals
136+ score_thresh (float): only return proposals with an objectness score greater than score_thresh
136137
137138 """
138139
You can’t perform that action at this time.
0 commit comments