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
bcb9d628
"vscode:/vscode.git/clone" did not exist on "82230b59b6e190be4bba6b4207f1ca1f93b44e32"
Commit
bcb9d628
authored
Apr 14, 2020
by
zhangwenwei
Browse files
reformat eval scripts
parent
852295ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
mmdet3d/core/evaluation/kitti_utils/eval.py
mmdet3d/core/evaluation/kitti_utils/eval.py
+8
-11
No files found.
mmdet3d/core/evaluation/kitti_utils/eval.py
View file @
bcb9d628
...
...
@@ -687,21 +687,18 @@ def kitti_eval(gt_annos,
result
+=
(
'{} AP@{:.2f}, {:.2f}, {:.2f}:
\n
'
.
format
(
curcls_name
,
*
min_overlaps
[
i
,
:,
j
]))
if
mAPbbox
is
not
None
:
result
+=
(
'bbox AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAPbbox
[
j
,
:,
i
]))
result
+=
'bbox AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAPbbox
[
j
,
:,
i
])
if
mAPbev
is
not
None
:
result
+=
(
'bev AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAPbev
[
j
,
:,
i
]))
result
+=
'bev AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAPbev
[
j
,
:,
i
])
if
mAP3d
is
not
None
:
result
+=
(
'3d AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAP3d
[
j
,
:,
i
])
)
result
+=
'3d AP:{:.4f}, {:.4f}, {:.4f}
\n
'
.
format
(
*
mAP3d
[
j
,
:,
i
])
if
compute_aos
:
result
+=
(
'aos AP:{:.2f}, {:.2f}, {:.2f}
\n
'
.
format
(
*
mAPaos
[
j
,
:,
i
]))
result
+=
'aos AP:{:.2f}, {:.2f}, {:.2f}
\n
'
.
format
(
*
mAPaos
[
j
,
:,
i
])
# prepare results for logger
for
idx
in
range
(
3
):
...
...
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