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
c101398c
Commit
c101398c
authored
Jul 13, 2019
by
Jiangmiao Pang
Committed by
Kai Chen
Jul 14, 2019
Browse files
Fix one doc error (#987)
parent
59fbb5c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mmdet/models/roi_extractors/single_level.py
mmdet/models/roi_extractors/single_level.py
+4
-4
No files found.
mmdet/models/roi_extractors/single_level.py
View file @
c101398c
...
@@ -54,10 +54,10 @@ class SingleRoIExtractor(nn.Module):
...
@@ -54,10 +54,10 @@ class SingleRoIExtractor(nn.Module):
def
map_roi_levels
(
self
,
rois
,
num_levels
):
def
map_roi_levels
(
self
,
rois
,
num_levels
):
"""Map rois to corresponding feature levels by scales.
"""Map rois to corresponding feature levels by scales.
- scale < finest_scale: level 0
- scale < finest_scale
* 2
: level 0
- finest_scale <= scale < finest_scale *
2
: level 1
- finest_scale
* 2
<= scale < finest_scale *
4
: level 1
- finest_scale *
2
<= scale < finest_scale *
4
: level 2
- finest_scale *
4
<= scale < finest_scale *
8
: level 2
- scale >= finest_scale *
4
: level 3
- scale >= finest_scale *
8
: level 3
Args:
Args:
rois (Tensor): Input RoIs, shape (k, 5).
rois (Tensor): Input RoIs, shape (k, 5).
...
...
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