kennymckormick
commited on
Commit
•
5c63389
1
Parent(s):
e06d81a
fix
Browse files- gen_table.py +1 -1
gen_table.py
CHANGED
@@ -134,7 +134,7 @@ def generate_table(results, fields):
|
|
134 |
|
135 |
def get_mmbench_v11(item):
|
136 |
assert 'MMBench_TEST_CN_V11' in item and 'MMBench_TEST_EN_V11' in item
|
137 |
-
val = (item['MMBench_TEST_CN_V11'] + item['MMBench_TEST_EN_V11']) / 2
|
138 |
val = float(f'{val:.1f}')
|
139 |
return val
|
140 |
|
|
|
134 |
|
135 |
def get_mmbench_v11(item):
|
136 |
assert 'MMBench_TEST_CN_V11' in item and 'MMBench_TEST_EN_V11' in item
|
137 |
+
val = (item['MMBench_TEST_CN_V11']['Overall'] + item['MMBench_TEST_EN_V11']['Overall']) / 2
|
138 |
val = float(f'{val:.1f}')
|
139 |
return val
|
140 |
|