Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
7f55a1b3
"...text-generation-inference.git" did not exist on "ebc74d5666bf2a304181a5fe8cc7dfc6ddbe1d95"
Unverified
Commit
7f55a1b3
authored
Jan 25, 2024
by
Riza Velioglu
Committed by
GitHub
Jan 25, 2024
Browse files
fix/update RCNN-family docstrings (#8231)
parent
315f3152
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
torchvision/models/detection/faster_rcnn.py
torchvision/models/detection/faster_rcnn.py
+1
-2
torchvision/models/detection/keypoint_rcnn.py
torchvision/models/detection/keypoint_rcnn.py
+1
-2
torchvision/models/detection/mask_rcnn.py
torchvision/models/detection/mask_rcnn.py
+1
-2
torchvision/models/detection/rpn.py
torchvision/models/detection/rpn.py
+1
-0
No files found.
torchvision/models/detection/faster_rcnn.py
View file @
7f55a1b3
...
@@ -96,8 +96,7 @@ class FasterRCNN(GeneralizedRCNN):
...
@@ -96,8 +96,7 @@ class FasterRCNN(GeneralizedRCNN):
for computing the loss
for computing the loss
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
of the RPN
of the RPN
rpn_score_thresh (float): during inference, only return proposals with a classification score
rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
greater than rpn_score_thresh
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
the locations indicated by the bounding boxes
the locations indicated by the bounding boxes
box_head (nn.Module): module that takes the cropped feature maps as input
box_head (nn.Module): module that takes the cropped feature maps as input
...
...
torchvision/models/detection/keypoint_rcnn.py
View file @
7f55a1b3
...
@@ -83,8 +83,7 @@ class KeypointRCNN(FasterRCNN):
...
@@ -83,8 +83,7 @@ class KeypointRCNN(FasterRCNN):
for computing the loss
for computing the loss
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
of the RPN
of the RPN
rpn_score_thresh (float): during inference, only return proposals with a classification score
rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
greater than rpn_score_thresh
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
the locations indicated by the bounding boxes
the locations indicated by the bounding boxes
box_head (nn.Module): module that takes the cropped feature maps as input
box_head (nn.Module): module that takes the cropped feature maps as input
...
...
torchvision/models/detection/mask_rcnn.py
View file @
7f55a1b3
...
@@ -84,8 +84,7 @@ class MaskRCNN(FasterRCNN):
...
@@ -84,8 +84,7 @@ class MaskRCNN(FasterRCNN):
for computing the loss
for computing the loss
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
rpn_positive_fraction (float): proportion of positive anchors in a mini-batch during training
of the RPN
of the RPN
rpn_score_thresh (float): during inference, only return proposals with a classification score
rpn_score_thresh (float): only return proposals with an objectness score greater than rpn_score_thresh
greater than rpn_score_thresh
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
box_roi_pool (MultiScaleRoIAlign): the module which crops and resizes the feature maps in
the locations indicated by the bounding boxes
the locations indicated by the bounding boxes
box_head (nn.Module): module that takes the cropped feature maps as input
box_head (nn.Module): module that takes the cropped feature maps as input
...
...
torchvision/models/detection/rpn.py
View file @
7f55a1b3
...
@@ -133,6 +133,7 @@ class RegionProposalNetwork(torch.nn.Module):
...
@@ -133,6 +133,7 @@ class RegionProposalNetwork(torch.nn.Module):
contain two fields: training and testing, to allow for different values depending
contain two fields: training and testing, to allow for different values depending
on training or evaluation
on training or evaluation
nms_thresh (float): NMS threshold used for postprocessing the RPN proposals
nms_thresh (float): NMS threshold used for postprocessing the RPN proposals
score_thresh (float): only return proposals with an objectness score greater than score_thresh
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment