提交 3cb1603e 编写于 作者: 吴承辉

Merge branch 'fix_benchmark_upload' into 'master'

fix benchmark model data upload to falcon

See merge request !409
......@@ -108,11 +108,12 @@ def gen_opencl_and_tuning_code(target_soc,
def model_benchmark_stdout_processor(stdout,
target_soc,
abi,
model_name,
runtime,
running_round,
tuning):
metrics = {}
for line in stdout:
for line in stdout.split("\n"):
if "Aborted" in line:
raise Exception("Command failed")
line = line.strip()
......@@ -178,6 +179,7 @@ def tuning_run(runtime,
model_benchmark_stdout_processor(stdout,
target_soc,
target_abi,
model_name,
runtime,
running_round,
tuning)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册