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
d8c72d8b
Commit
d8c72d8b
authored
Jan 21, 2019
by
Kai Chen
Browse files
minor fix
parent
1bd3f3f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
mmdet/ops/__init__.py
mmdet/ops/__init__.py
+8
-6
mmdet/ops/dcn/modules/deform_conv.py
mmdet/ops/dcn/modules/deform_conv.py
+2
-2
No files found.
mmdet/ops/__init__.py
View file @
d8c72d8b
from
.dcn
import
(
DeformConv
,
DeformRoIPooling
,
ModulatedDeformRoIPoolingPack
,
from
.dcn
import
(
DeformConv
,
DeformRoIPooling
,
DeformRoIPoolingPack
,
ModulatedDeformConv
,
ModulatedDeformConvPack
,
deform_conv
,
ModulatedDeformRoIPoolingPack
,
ModulatedDeformConv
,
modulated_deform_conv
,
deform_roi_pooling
)
ModulatedDeformConvPack
,
deform_conv
,
modulated_deform_conv
,
deform_roi_pooling
)
from
.nms
import
nms
,
soft_nms
from
.nms
import
nms
,
soft_nms
from
.roi_align
import
RoIAlign
,
roi_align
from
.roi_align
import
RoIAlign
,
roi_align
from
.roi_pool
import
RoIPool
,
roi_pool
from
.roi_pool
import
RoIPool
,
roi_pool
__all__
=
[
__all__
=
[
'nms'
,
'soft_nms'
,
'RoIAlign'
,
'roi_align'
,
'RoIPool'
,
'roi_pool'
,
'nms'
,
'soft_nms'
,
'RoIAlign'
,
'roi_align'
,
'RoIPool'
,
'roi_pool'
,
'DeformConv'
,
'DeformRoIPooling'
,
'ModulatedDeformRoIPoolingPack'
,
'DeformConv'
,
'DeformRoIPooling'
,
'DeformRoIPoolingPack'
,
'ModulatedDeformConv'
,
'ModulatedDeformConvPack'
,
'deform_conv'
,
'ModulatedDeformRoIPoolingPack'
,
'ModulatedDeformConv'
,
'modulated_deform_conv'
,
'deform_roi_pooling'
'ModulatedDeformConvPack'
,
'deform_conv'
,
'modulated_deform_conv'
,
'deform_roi_pooling'
]
]
mmdet/ops/dcn/modules/deform_conv.py
View file @
d8c72d8b
...
@@ -17,8 +17,8 @@ class DeformConv(nn.Module):
...
@@ -17,8 +17,8 @@ class DeformConv(nn.Module):
padding
=
0
,
padding
=
0
,
dilation
=
1
,
dilation
=
1
,
deformable_groups
=
1
,
deformable_groups
=
1
,
bias
=
Non
e
):
bias
=
Fals
e
):
assert
bias
is
None
assert
not
bias
super
(
DeformConv
,
self
).
__init__
()
super
(
DeformConv
,
self
).
__init__
()
self
.
in_channels
=
in_channels
self
.
in_channels
=
in_channels
self
.
out_channels
=
out_channels
self
.
out_channels
=
out_channels
...
...
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