Spaces:
Runtime error
Runtime error
merge utils.py
Browse files
utils.py
CHANGED
@@ -48,8 +48,7 @@ def parse_rewards(accuracy):
|
|
48 |
default_std = -1000
|
49 |
default_reward=-1000
|
50 |
if accuracy != None:
|
51 |
-
|
52 |
-
accuracy = str(accuracy)
|
53 |
parsed = accuracy.split(' +/- ')
|
54 |
if len(parsed)>1:
|
55 |
mean_reward = float(parsed[0])
|
|
|
48 |
default_std = -1000
|
49 |
default_reward=-1000
|
50 |
if accuracy != None:
|
51 |
+
accuracy = str(accuracy)
|
|
|
52 |
parsed = accuracy.split(' +/- ')
|
53 |
if len(parsed)>1:
|
54 |
mean_reward = float(parsed[0])
|