michal commited on
Commit
9020582
·
1 Parent(s): c5907c4
Files changed (1) hide show
  1. src/structures/pes_structure.py +2 -2
src/structures/pes_structure.py CHANGED
@@ -53,8 +53,8 @@ def load_json_data(file_path, order_list):
53
  ordered_columns = [col for col in order_list if col in PES_ACCS.columns]
54
  PES_ACCS = PES_ACCS[ordered_columns]
55
 
56
- if "Score" in PES_ACCS.columns:
57
- PES_ACCS = PES_ACCS.sort_values(by="Score", ascending=False)
58
 
59
  return PES_ACCS
60
  # file_path = str(abs_path / "leaderboards/pes_accuracy.json")
 
53
  ordered_columns = [col for col in order_list if col in PES_ACCS.columns]
54
  PES_ACCS = PES_ACCS[ordered_columns]
55
 
56
+ if "overall_accuracy" in PES_ACCS.columns:
57
+ PES_ACCS = PES_ACCS.sort_values(by="overall_accuracy", ascending=False)
58
 
59
  return PES_ACCS
60
  # file_path = str(abs_path / "leaderboards/pes_accuracy.json")