Unverified Commit e89f639f authored by Robert Perrotta's avatar Robert Perrotta Committed by GitHub
Browse files

Fix error message typo (#6682)

parent 07ae61bf
......@@ -787,7 +787,7 @@ class RoIHeads(nn.Module):
mask_proposals = [p["boxes"] for p in result]
if self.training:
if matched_idxs is None:
raise ValueError("if in trainning, matched_idxs should not be None")
raise ValueError("if in training, matched_idxs should not be None")
# during training, only focus on positive boxes
num_images = len(proposals)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment