Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang-can committed Feb 15, 2022
1 parent 9665259 commit 314c8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_proposal_dict(cas_pred, aness_pred, pred, score_np, vid_num_seg, config)
def table_format(res_info, tIoU_thresh, title):
table = [
['mAP@{:.1f}'.format(i) for i in tIoU_thresh],
['{:.4f}'.format(res_info['mAP@{:.1f}'.format(i)][-1]) for i in tIoU_thresh]
['{:.4f}'.format(res_info['mAP@{:.2f}'.format(i)][-1]) for i in tIoU_thresh]
]
table[0].append('mAP@AVG')
table[1].append('{:.4f}'.format(res_info["average_mAP"][-1]))
Expand Down

0 comments on commit 314c8d7

Please sign in to comment.