Skip to content

Commit 365d1ef

Browse files
committed
Adding doc for head.
1 parent 3dce96d commit 365d1ef

File tree

1 file changed

+2
-1
lines changed
  • torchvision/models/detection

1 file changed

+2
-1
lines changed

torchvision/models/detection/ssd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ class SSD(nn.Module):
146146
on
147147
image_std (Tuple[float, float, float]): std values used for input normalization.
148148
They are generally the std values of the dataset on which the backbone has been trained on
149-
head:
149+
head (nn.Module, optional): Module run on top of the backbone features. Defaults to a module containing
150+
a classification and regression module.
150151
score_thresh (float): Score threshold used for postprocessing the detections.
151152
nms_thresh (float): NMS threshold used for postprocessing the detections.
152153
detections_per_img (int): Number of best detections to keep after NMS.

0 commit comments

Comments
 (0)