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
OpenDAS
mmdetection3d
Commits
ad798fb3
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "3e614260af0a5668dad032f4be477ce2aeb42931"
Commit
ad798fb3
authored
May 02, 2020
by
wuyuefeng
Browse files
reformat
parent
c8755fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmdet3d/models/middle_encoders/sparse_unet.py
mmdet3d/models/middle_encoders/sparse_unet.py
+2
-2
No files found.
mmdet3d/models/middle_encoders/sparse_unet.py
View file @
ad798fb3
...
@@ -181,8 +181,8 @@ class SparseUNet(nn.Module):
...
@@ -181,8 +181,8 @@ class SparseUNet(nn.Module):
"""
"""
features
=
x
.
features
features
=
x
.
features
n
,
in_channels
=
features
.
shape
n
,
in_channels
=
features
.
shape
assert
(
in_channels
%
assert
(
in_channels
%
out_channels
out_channels
==
0
)
and
(
in_channels
>=
out_channels
)
==
0
)
and
(
in_channels
>=
out_channels
)
x
.
features
=
features
.
view
(
n
,
out_channels
,
-
1
).
sum
(
dim
=
2
)
x
.
features
=
features
.
view
(
n
,
out_channels
,
-
1
).
sum
(
dim
=
2
)
return
x
return
x
...
...
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