Commit 22932682 authored by Janez K's avatar Janez K
Browse files

bugfix

parent d0f4a019
...@@ -146,7 +146,7 @@ def pr_space_view(request,input_dict,output_dict,widget): ...@@ -146,7 +146,7 @@ def pr_space_view(request,input_dict,output_dict,widget):
def eval_bar_chart_view(request,input_dict,output_dict,widget): def eval_bar_chart_view(request,input_dict,output_dict,widget):
for i in input_dict['eval_results']: for i in input_dict['eval_results']:
try: try:
i['accuracy'] = i['accuracy']*100 i['accuracy'] = i['accuracy']/100.0
except: except:
pass pass
return render(request, 'visualizations/eval_bar_chart.html',{'widget':widget,'input_dict':input_dict,'output_dict':output_dict}) return render(request, 'visualizations/eval_bar_chart.html',{'widget':widget,'input_dict':input_dict,'output_dict':output_dict})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment