t0-0 commited on
Commit
d90e2b2
·
verified ·
1 Parent(s): 99670db

Update src/submission/check_validity.py

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +2 -0
src/submission/check_validity.py CHANGED
@@ -88,6 +88,8 @@ def already_submitted_models(requested_models_dir: str) -> set[str]:
88
  continue
89
  with open(os.path.join(root, file), "r") as f:
90
  info = json.load(f)
 
 
91
  file_names.append(f"{info['model']}_{info['precision']}_{info['add_special_tokens']}")
92
 
93
  # Select organisation
 
88
  continue
89
  with open(os.path.join(root, file), "r") as f:
90
  info = json.load(f)
91
+ if info['status'] == 'FAILED':
92
+ continue
93
  file_names.append(f"{info['model']}_{info['precision']}_{info['add_special_tokens']}")
94
 
95
  # Select organisation