"vscode:/vscode.git/clone" did not exist on "82230b59b6e190be4bba6b4207f1ca1f93b44e32"
Commit bcb9d628 authored by zhangwenwei's avatar zhangwenwei
Browse files

reformat eval scripts

parent 852295ce
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment