Skip to content

Commit 72a4d32

Browse files
update mean_ap.py
1 parent 2f4f6b5 commit 72a4d32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ai4rs/evaluation/functional/mean_ap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ def print_map_summary(mean_ap,
350350
for j in range(num_classes):
351351
row_data = [
352352
label_names[j], num_gts[i, j], results[j]['num_dets'],
353-
f'{recalls[i, j]:.3f}', f'{aps[i, j]:.3f}'
353+
f'{recalls[i, j]:.5f}', f'{aps[i, j]:.5f}'
354354
]
355355
table_data.append(row_data)
356-
table_data.append(['mAP', '', '', '', f'{mean_ap[i]:.3f}'])
356+
table_data.append(['mAP', '', '', '', f'{mean_ap[i]:.5f}'])
357357
table = AsciiTable(table_data)
358358
table.inner_footing_row_border = True
359359
print_log('\n' + table.table, logger=logger)

0 commit comments

Comments
 (0)