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
0fb41c28
"examples/git@developer.sourcefind.cn:OpenDAS/fairseq.git" did not exist on "6fc03d3cf4a482083240b436741a56c32c8cf09b"
Unverified
Commit
0fb41c28
authored
Jun 14, 2019
by
Francisco Massa
Committed by
GitHub
Jun 14, 2019
Browse files
Remove empty proposals from the RPN (#1026)
parent
2694a5d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/models/detection/rpn.py
torchvision/models/detection/rpn.py
+1
-1
No files found.
torchvision/models/detection/rpn.py
View file @
0fb41c28
...
@@ -252,7 +252,7 @@ class RegionProposalNetwork(torch.nn.Module):
...
@@ -252,7 +252,7 @@ class RegionProposalNetwork(torch.nn.Module):
self
.
_pre_nms_top_n
=
pre_nms_top_n
self
.
_pre_nms_top_n
=
pre_nms_top_n
self
.
_post_nms_top_n
=
post_nms_top_n
self
.
_post_nms_top_n
=
post_nms_top_n
self
.
nms_thresh
=
nms_thresh
self
.
nms_thresh
=
nms_thresh
self
.
min_size
=
0
self
.
min_size
=
1e-3
@
property
@
property
def
pre_nms_top_n
(
self
):
def
pre_nms_top_n
(
self
):
...
...
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