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
86e25e41
Unverified
Commit
86e25e41
authored
Oct 25, 2018
by
Kai Chen
Committed by
GitHub
Oct 25, 2018
Browse files
Merge pull request #74 from hellock/hotfix
bug fix for missing weight initialization
parents
573d4c33
69eedb8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mmdet/models/detectors/two_stage.py
mmdet/models/detectors/two_stage.py
+3
-0
No files found.
mmdet/models/detectors/two_stage.py
View file @
86e25e41
...
@@ -65,6 +65,9 @@ class TwoStageDetector(BaseDetector, RPNTestMixin, BBoxTestMixin,
...
@@ -65,6 +65,9 @@ class TwoStageDetector(BaseDetector, RPNTestMixin, BBoxTestMixin,
if
self
.
with_bbox
:
if
self
.
with_bbox
:
self
.
bbox_roi_extractor
.
init_weights
()
self
.
bbox_roi_extractor
.
init_weights
()
self
.
bbox_head
.
init_weights
()
self
.
bbox_head
.
init_weights
()
if
self
.
with_mask
:
self
.
mask_roi_extractor
.
init_weights
()
self
.
mask_head
.
init_weights
()
def
extract_feat
(
self
,
img
):
def
extract_feat
(
self
,
img
):
x
=
self
.
backbone
(
img
)
x
=
self
.
backbone
(
img
)
...
...
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