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
ModelZoo
SOLOv2-pytorch
Commits
277b5dca
Commit
277b5dca
authored
Dec 13, 2019
by
Jiangmiao Pang
Committed by
Kai Chen
Dec 13, 2019
Browse files
update floor_thr in iou sampling (#1800)
parent
d6a592d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py
+1
-1
No files found.
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py
View file @
277b5dca
...
...
@@ -99,7 +99,7 @@ class IoUBalancedNegSampler(RandomSampler):
iou_sampling_set
=
set
(
np
.
where
(
max_overlaps
>
self
.
floor_thr
)[
0
])
# for sampling interval calculation
self
.
floor_thr
=
=
0
self
.
floor_thr
=
0
floor_neg_inds
=
list
(
floor_set
&
neg_set
)
iou_sampling_neg_inds
=
list
(
iou_sampling_set
&
neg_set
)
...
...
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