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
f09e8c62
Commit
f09e8c62
authored
Jul 06, 2020
by
zhangwenwei
Browse files
Merge branch 'fix_table' into 'master'
Fix the bug of AsciiTable params See merge request open-mmlab/mmdet.3d!125
parents
501f17df
aa3c955d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmdet3d/core/evaluation/lyft_eval.py
mmdet3d/core/evaluation/lyft_eval.py
+2
-2
No files found.
mmdet3d/core/evaluation/lyft_eval.py
View file @
f09e8c62
...
...
@@ -129,8 +129,8 @@ def lyft_eval(lyft, data_root, res_path, eval_set, output_dir, logger=None):
row
=
[
class_names
[
i
],
round
(
mAPs_cate
[
i
],
3
)]
APs_data
.
append
(
row
)
APs_data
.
append
([
'Overall'
,
round
(
final_mAP
,
3
)])
APs_table
=
AsciiTable
(
APs_
data
,
title
=
'mAPs@0.5:0.95'
,
inner_footing_row_border
=
True
)
APs_table
=
AsciiTable
(
APs_data
,
title
=
'mAPs@0.5:0.95'
)
APs_
table
.
inner_footing_row_border
=
True
print_log
(
APs_table
.
table
,
logger
=
logger
)
res_path
=
osp
.
join
(
output_dir
,
'lyft_metrics.json'
)
...
...
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