Spaces:
Running
Running
lixuejing
commited on
Commit
·
50ad9dc
1
Parent(s):
7eec0f0
update
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -143,7 +143,7 @@ class EvalResult:
|
|
143 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|
144 |
average = 0
|
145 |
nums = 0
|
146 |
-
for k,v in self.results:
|
147 |
if k not in ["Visual Grounding","Counting","State & Activity Understanding","Dynamic","Relative direction","Multi-view matching","Relative distance","Depth estimation","Relative shape","Size estimation","Trajectory","Future prediction","Goal Decomposition","Navigation"]:
|
148 |
if v is not None and v != 0:
|
149 |
average += v
|
|
|
143 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|
144 |
average = 0
|
145 |
nums = 0
|
146 |
+
for k,v in self.results.items():
|
147 |
if k not in ["Visual Grounding","Counting","State & Activity Understanding","Dynamic","Relative direction","Multi-view matching","Relative distance","Depth estimation","Relative shape","Size estimation","Trajectory","Future prediction","Goal Decomposition","Navigation"]:
|
148 |
if v is not None and v != 0:
|
149 |
average += v
|