Jae-Won Chung commited on
Commit
78fec8f
1 Parent(s): aa739dd

Update scripts/print_results.py

Browse files
Files changed (1) hide show
  1. scripts/print_results.py +2 -2
scripts/print_results.py CHANGED
@@ -13,9 +13,9 @@ def main(data_dir: str) -> None:
13
  for i, model_name in enumerate(model_names):
14
  try:
15
  benchmark = json.load(open(f"{data_dir}/{model_name}/benchmark.json"))
16
- print(f"[{i:2d}] {len(benchmark):5d} results found for", model_name)
17
  except json.JSONDecodeError:
18
- print(f"[{i:2d}] [ERR] results founds for {model_name}")
19
 
20
 
21
  if __name__ == "__main__":
 
13
  for i, model_name in enumerate(model_names):
14
  try:
15
  benchmark = json.load(open(f"{data_dir}/{model_name}/benchmark.json"))
16
+ print(f"{i:2d} {len(benchmark):5d} results found for", model_name)
17
  except json.JSONDecodeError:
18
+ print(f"{i:2d} [ERR] results found for {model_name}")
19
 
20
 
21
  if __name__ == "__main__":