Spaces:
Sleeping
Sleeping
michal
commited on
Commit
·
9020582
1
Parent(s):
c5907c4
Upload
Browse files
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 "
|
| 57 |
-
PES_ACCS = PES_ACCS.sort_values(by="
|
| 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")
|