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
ac9a3e8c
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "bf669606eb84e12dc1ecf15b23c1eedab204d660"
Unverified
Commit
ac9a3e8c
authored
Feb 10, 2021
by
Yezhen Cong
Committed by
GitHub
Feb 10, 2021
Browse files
fix bug caused by mmcv upgrade; delete pdb breakpoint (#304)
parent
7f9b186e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
mmdet3d/models/detectors/centerpoint.py
mmdet3d/models/detectors/centerpoint.py
+0
-2
tests/test_models/test_heads/test_heads.py
tests/test_models/test_heads/test_heads.py
+1
-1
No files found.
mmdet3d/models/detectors/centerpoint.py
View file @
ac9a3e8c
...
@@ -181,8 +181,6 @@ class CenterPoint(MVXTwoStageDetector):
...
@@ -181,8 +181,6 @@ class CenterPoint(MVXTwoStageDetector):
else
:
else
:
for
key
in
bbox_list
[
0
].
keys
():
for
key
in
bbox_list
[
0
].
keys
():
bbox_list
[
0
][
key
]
=
bbox_list
[
0
][
key
].
to
(
'cpu'
)
bbox_list
[
0
][
key
]
=
bbox_list
[
0
][
key
].
to
(
'cpu'
)
import
pdb
pdb
.
set_trace
()
return
bbox_list
[
0
]
return
bbox_list
[
0
]
def
aug_test
(
self
,
points
,
img_metas
,
imgs
=
None
,
rescale
=
False
):
def
aug_test
(
self
,
points
,
img_metas
,
imgs
=
None
,
rescale
=
False
):
...
...
tests/test_models/test_heads/test_heads.py
View file @
ac9a3e8c
...
@@ -815,7 +815,7 @@ def test_dcn_center_head():
...
@@ -815,7 +815,7 @@ def test_dcn_center_head():
kernel_size
=
3
,
kernel_size
=
3
,
padding
=
1
,
padding
=
1
,
groups
=
4
,
groups
=
4
,
bias
=
True
),
bias
=
False
),
# mmcv 1.2.6 doesn't support bias=True anymore
init_bias
=-
2.19
,
init_bias
=-
2.19
,
final_kernel
=
3
),
final_kernel
=
3
),
loss_cls
=
dict
(
type
=
'GaussianFocalLoss'
,
reduction
=
'mean'
),
loss_cls
=
dict
(
type
=
'GaussianFocalLoss'
,
reduction
=
'mean'
),
...
...
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