Skip to content

Commit

Permalink
Tuples (#1234)
Browse files Browse the repository at this point in the history
* Support tuples for accelerator count

* Support ssd-large in open
  • Loading branch information
tjablin authored Aug 26, 2022
1 parent 1749731 commit 318cb13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tools/submission/generate-final-report.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def main():

# cleanup counts
df['Accelerator'] = df['Accelerator'].apply(lambda x: x if x != '-' else '')
df['a#'] = df['a#'].apply(lambda x: int(x) if x != '' else 0)
df['a#'] = df['a#'].apply(lambda x: x if x > 0 else '')
df['a#'] = df['a#'].apply(lambda x: int(x) if x.isnumeric() else x)
df['a#'] = df['a#'].apply(lambda x: x if x != 0 else '')
df['p#'] = df.apply(lambda x: int(x['host_processors_per_node']), axis=1)

# details url
Expand Down
6 changes: 3 additions & 3 deletions tools/submission/submission-checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@
"model_mapping": {
# map model names to the official mlperf model class
"ssd-mobilenet": "ssd-small",
"ssd-resnet34": "ssd-large",
"ssd-resnet34": "retinanet",
"mobilenet": "resnet",
"resnet50": "resnet",
"ssd_resnet101_v1_fpn_640x640": "ssd-small",
Expand Down Expand Up @@ -1820,7 +1820,7 @@ def log_result(submitter,
system_json.get("host_processors_per_node"),
system_json.get("host_processor_core_count"),
'"' + system_json.get("accelerator_model_name") + '"',
system_json.get("accelerators_per_node"),
'"' + str(system_json.get("accelerators_per_node")) + '"',
name.replace("\\", "/"),
'"' + system_json.get("framework", "") + '"',
'"' + system_json.get("operating_system", "") + '"',
Expand All @@ -1837,7 +1837,7 @@ def log_result(submitter,
system_json.get("host_processors_per_node"),
system_json.get("host_processor_core_count"),
'"' + system_json.get("accelerator_model_name") + '"',
system_json.get("accelerators_per_node"),
'"' + str(system_json.get("accelerators_per_node")) + '"',
name.replace("\\", "/"),
'"' + system_json.get("framework", "") + '"',
'"' + system_json.get("operating_system", "") + '"',
Expand Down

0 comments on commit 318cb13

Please sign in to comment.