Fix minor problems when aggragating the results (#106)
This commit is contained in:
@@ -25,7 +25,7 @@ def get_result(action_space, use_model, observation_type, result_dir):
|
||||
try:
|
||||
domain_result[domain].append(float(result))
|
||||
except:
|
||||
domain_result[domain].append(float(bool(result)))
|
||||
domain_result[domain].append(float(eval(result)))
|
||||
|
||||
if domain not in all_result_for_analysis:
|
||||
all_result_for_analysis[domain] = {}
|
||||
|
||||
Reference in New Issue
Block a user