We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 144680e commit 8d030f9Copy full SHA for 8d030f9
torchvision/models/detection/roi_heads.py
@@ -787,7 +787,7 @@ def forward(
787
mask_proposals = [p["boxes"] for p in result]
788
if self.training:
789
if matched_idxs is None:
790
- raise ValueError("if in trainning, matched_idxs should not be None")
+ raise ValueError("if in training, matched_idxs should not be None")
791
792
# during training, only focus on positive boxes
793
num_images = len(proposals)
0 commit comments