fix error
Browse files- lb_info.py +2 -1
lb_info.py
CHANGED
@@ -120,6 +120,7 @@ def BUILD_L1_DF(results, fields):
|
|
120 |
skip_model_in_main = True
|
121 |
break
|
122 |
if skip_model_in_main:
|
|
|
123 |
continue
|
124 |
for k in META_FIELDS:
|
125 |
if k == 'Parameters (B)':
|
@@ -139,7 +140,7 @@ def BUILD_L1_DF(results, fields):
|
|
139 |
scores.append(item[d]['Overall'] / 3 * 100)
|
140 |
else:
|
141 |
scores.append(item[d]['Overall'])
|
142 |
-
ranks.append(nth_large(item[d]['Overall'], [x[d]['Overall'] for x in results.values()]))
|
143 |
res['Avg Score'].append(round(np.mean(scores), 1))
|
144 |
res['Avg Rank'].append(round(np.mean(ranks), 2))
|
145 |
|
|
|
120 |
skip_model_in_main = True
|
121 |
break
|
122 |
if skip_model_in_main:
|
123 |
+
print(f'skip {meta}')
|
124 |
continue
|
125 |
for k in META_FIELDS:
|
126 |
if k == 'Parameters (B)':
|
|
|
140 |
scores.append(item[d]['Overall'] / 3 * 100)
|
141 |
else:
|
142 |
scores.append(item[d]['Overall'])
|
143 |
+
ranks.append(nth_large(item[d]['Overall'], [x[d]['Overall'] for x in results.values() if 'Overall' in x[d]]))
|
144 |
res['Avg Score'].append(round(np.mean(scores), 1))
|
145 |
res['Avg Rank'].append(round(np.mean(ranks), 2))
|
146 |
|