提交 59671466 编写于 作者: W WenmuZhou

opt output

上级 864af3db
......@@ -78,7 +78,7 @@ def save_res(res, save_folder, img_name):
pass
else:
with open(os.path.join(excel_save_folder, 'res.txt'), 'a', encoding='utf8') as f:
for box, rec_res in zip(*region['res']):
for box, rec_res in zip(region['res'][0],region['res'][1]):
f.write('{}\t{}\n'.format(np.array(box).reshape(-1).tolist(), rec_res))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册