Skip to content

Commit

Permalink
Update submission_checker.py | Prevent empty accuracy in open division
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Feb 6, 2025
1 parent 2e996ad commit a403f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/submission/submission_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2407,7 +2407,7 @@ def log_result(
.replace('"', "")
.replace("{", "")
.replace("}", "")
)
).strip()
if mlperf_model in REQUIRED_ACC_BENCHMARK:
if (
config.version
Expand All @@ -2425,7 +2425,7 @@ def log_result(
missing_files,
)
accuracy_is_valid = False
if not accuracy_is_valid and not is_closed_or_network:
if not accuracy_is_valid and acc and not is_closed_or_network:
if debug:
log.warning(
"%s, accuracy not valid but taken for open",
Expand Down

0 comments on commit a403f9f

Please sign in to comment.