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
e6e23152
Unverified
Commit
e6e23152
authored
Aug 11, 2019
by
Kai Chen
Committed by
GitHub
Aug 11, 2019
Browse files
fix inplace add in roi extractor (#1160)
parent
31bf963d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet/models/roi_extractors/single_level.py
mmdet/models/roi_extractors/single_level.py
+1
-1
No files found.
mmdet/models/roi_extractors/single_level.py
View file @
e6e23152
...
@@ -103,5 +103,5 @@ class SingleRoIExtractor(nn.Module):
...
@@ -103,5 +103,5 @@ class SingleRoIExtractor(nn.Module):
if
inds
.
any
():
if
inds
.
any
():
rois_
=
rois
[
inds
,
:]
rois_
=
rois
[
inds
,
:]
roi_feats_t
=
self
.
roi_layers
[
i
](
feats
[
i
],
rois_
)
roi_feats_t
=
self
.
roi_layers
[
i
](
feats
[
i
],
rois_
)
roi_feats
[
inds
]
+
=
roi_feats_t
roi_feats
[
inds
]
=
roi_feats_t
return
roi_feats
return
roi_feats
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