We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc3e37 commit f7a5d53Copy full SHA for f7a5d53
mmseg/datasets/custom.py
@@ -374,6 +374,11 @@ def evaluate(self,
374
for i in range(1, len(summary_table_data[0])):
375
eval_results[summary_table_data[0]
376
[i]] = summary_table_data[1][i] / 100.0
377
+ for idx, sub_metric in enumerate(class_table_data[0][1:], 1):
378
+ for item in class_table_data[1:]:
379
+ eval_results[str(sub_metric) + '.' +
380
+ str(item[0])] = item[idx] / 100.0
381
+
382
if mmcv.is_list_of(results, str):
383
for file_name in results:
384
os.remove(file_name)
0 commit comments