File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -134,18 +134,19 @@ def compute_and_store_final_results(
134134 "Full PRO" ,
135135 "Anomaly Pixel AUROC" ,
136136 "Anomaly PRO" ,
137- "Image AP" ,
138- "Pixel AP"
137+ "Image AP" , # 新增指标
138+ "Pixel AP" , # 新增指标
139+ "New PRO" , # 新增指标
139140 ],
140141):
141142 """Store computed results as CSV file.
142143
143144 Args:
144145 results_path: [str] Where to store result csv.
145146 results: [List[List]] List of lists containing results per dataset,
146- with results[i][0] == 'dataset_name' and results[i][1:8 ] =
147+ with results[i][0] == 'dataset_name' and results[i][1:6 ] =
147148 [instance_auroc, full_pixelwisew_auroc, full_pro,
148- anomaly-only_pw_auroc, anomaly-only_pro, image_ap, pixel_ap ]
149+ anomaly-only_pw_auroc, anomaly-only_pro]
149150 """
150151 if row_names is not None :
151152 assert len (row_names ) == len (results ), "#Rownames != #Result-rows."
You can’t perform that action at this time.
0 commit comments