Skip to content

Commit 10536f4

Browse files
Update v1.4 submission checker
1 parent 270650b commit 10536f4

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

tools/submission/submission_checker.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,42 @@
102102
"sww": ["energy", "performance"]
103103
},
104104
"required_files": ["log.txt", "results.json", "results.txt"]
105+
},
106+
"v1.4": {
107+
"models": ["ad", "ic", "ic2", "kws", "vww", "sww"],
108+
"required-scenarios": {
109+
# anything goes
110+
},
111+
"optional-scenarios": {
112+
# anything goes
113+
},
114+
"accuracy-target": {
115+
"ad": ("auc", 0.85),
116+
"ic": ("top-1", 85),
117+
"ic2": ("top-1", 91),
118+
"kws": ("top-1", 90),
119+
"vww": ("top-1", 80),
120+
"sww": ("fps_fns", (8,8)),
121+
},
122+
"model_mapping": {
123+
},
124+
"required_tests": {
125+
"ad": ["accuracy", "performance"],
126+
"ic": ["accuracy", "performance"],
127+
"ic2": ["accuracy", "performance"],
128+
"kws": ["accuracy", "performance"],
129+
"vww": ["accuracy", "performance"],
130+
"sww": []
131+
},
132+
"optional_tests": {
133+
"ad": ["energy"],
134+
"ic": ["energy"],
135+
"ic2": ["energy"],
136+
"kws": ["energy"],
137+
"vww": ["energy"],
138+
"sww": ["energy", "performance"]
139+
},
140+
"required_files": ["log.txt", "results.json", "results.txt"]
105141
}
106142
}
107143
VALID_DIVISIONS = ["open", "closed"]
@@ -638,6 +674,13 @@ def log_result(submitter,
638674
results[name] = None
639675
continue
640676

677+
if model_name == "ic2" and "ic" not in list_dir(results_path, system_desc):
678+
log.error("%s need %s run in order to have "
679+
"valid results for %s, but are not present",
680+
name, "ic", model_name)
681+
results[name] = None
682+
continue
683+
641684
#
642685
# Look at each scenario
643686
#

0 commit comments

Comments
 (0)