Skip to content

Commit 26fc770

Browse files
committed
Removing non-default threshold from reference scripts.
1 parent a1f2796 commit 26fc770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

references/detection/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main(args):
9494
print("Creating model")
9595
kwargs = {}
9696
if "rcnn" in args.model:
97-
kwargs["rpn_score_thresh"] = 0.5
97+
kwargs["rpn_score_thresh"] = 0.0
9898
model = torchvision.models.detection.__dict__[args.model](num_classes=num_classes, pretrained=args.pretrained,
9999
**kwargs)
100100
model.to(device)

0 commit comments

Comments
 (0)