Skip to content

Commit ffce414

Browse files
authored
Plt update bs 012 (#3043)
* plt update, test=model * plt update, test=model * plt update, test=model * plt update testing reporter, test=model * plt update testing reporter, test=model * plt update testing reporter, test=model * plt update test reporter, test=model * plt update test reporter, test=model * plt update test reporter, test=model * plt update test reporter, test=model * plt update test reporter, test=model * plt update test reporter, test=model * plt add pr_info * plt fix ocr case, test=model * plt fix ocr case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add more nlp case, test=model * plt add more nlp case, test=model * plt add nlp, test=model * plt fix case, test=model * fix plt builder data, test=model * fix plt builder data, test=model * fix plt builder data, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt add nlp case, test=model * plt update ci, test=model * plt update ci, test=model * plt update ci, test=model * plt update ci, test=model * plt update ci, test=model * fix plt ci, test=model * fix plt bs, test=model * fix plt bs, test=model * fix plt bs, test=model
1 parent 9db4d1e commit ffce414

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

framework/e2e/PaddleLT_new/TestingReporter.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def binary_search(self, fail_dict, loop_num=1):
101101
self._set_flags(task=task)
102102
if len(value_dict["fail_list"]) == 0:
103103
self.logger.get_log().info(f"{task}任务无报错case, 无需进行二分定位")
104+
# 取消环境变量
105+
self._unset_flags(task=task)
104106
continue
105107
else:
106108
self.logger.get_log().info(f"{task}任务有报错case, 准备进行二分定位")
@@ -130,8 +132,8 @@ def binary_search(self, fail_dict, loop_num=1):
130132
}
131133
}
132134
)
133-
# 取消环境变量
134-
self._unset_flags(task=task)
135+
# 取消环境变量
136+
self._unset_flags(task=task)
135137

136138
xlsx_save(fail_info_dict, "./binary_search_result.xlsx")
137139
return res_dict

framework/e2e/PaddleLT_new/binary_search.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def _get_commits(self):
9191
commit = commit.split(" ")[0]
9292
# self.logger.get_log().info("commit:{}".format(commit))
9393
commit_list.append(commit)
94+
commit_list.append(self.good_commit)
9495
return commit_list
9596

9697
def _check_downloadable(self, url):
@@ -305,10 +306,11 @@ def _run(self):
305306

306307
if __name__ == "__main__":
307308
bs = BinarySearch(
308-
good_commit="2e963d2bd2ca03626bb46cccbd0119b8873523a6",
309-
bad_commit="651e66ba06f3ae26c3cf649f83a9a54b486ce75d",
310-
layerfile="layercase/sublayer1000/Clas_cases/EfficientNet_EfficientNetB0/SIR_140.py",
309+
good_commit="f04aa61cef69114b3ef04eea1e48e5eb867a88da",
310+
bad_commit="d97f2ead1562bf0e00cf388a46e1fcf97a5ce73a",
311+
layerfile="layerApicase/math_sublayer/median_4_func.py",
311312
testing="yaml/dy^dy2stcinn_train_inputspec.yml",
313+
# testing="yaml/dy^dy2stcinn_eval.yml",
312314
loop_num=1,
313315
perf_decay=None, # ["dy2st_eval_cinn_perf", 0.042814, -0.3]
314316
test_obj=LayerTest,

0 commit comments

Comments
 (0)