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
0868596e
Commit
0868596e
authored
Oct 21, 2018
by
Kai Chen
Browse files
bug fix for missing arguments
parent
c8cc01e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mmdet/models/bbox_heads/convfc_bbox_head.py
mmdet/models/bbox_heads/convfc_bbox_head.py
+3
-0
No files found.
mmdet/models/bbox_heads/convfc_bbox_head.py
View file @
0868596e
...
...
@@ -22,6 +22,7 @@ class ConvFCBBoxHead(BBoxHead):
num_reg_fcs
=
0
,
conv_out_channels
=
256
,
fc_out_channels
=
1024
,
normalize
=
None
,
*
args
,
**
kwargs
):
super
(
ConvFCBBoxHead
,
self
).
__init__
(
*
args
,
**
kwargs
)
...
...
@@ -41,6 +42,8 @@ class ConvFCBBoxHead(BBoxHead):
self
.
num_reg_fcs
=
num_reg_fcs
self
.
conv_out_channels
=
conv_out_channels
self
.
fc_out_channels
=
fc_out_channels
self
.
normalize
=
normalize
self
.
with_bias
=
normalize
is
None
# add shared convs and fcs
self
.
shared_convs
,
self
.
shared_fcs
,
last_layer_dim
=
\
...
...
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