未验证 提交 078a823f 编写于 作者: X xiaoting 提交者: GitHub

Merge pull request #52 from LDOUBLEV/fixocr

Fixocr
...@@ -81,8 +81,8 @@ class EvalTestReader(object): ...@@ -81,8 +81,8 @@ class EvalTestReader(object):
lines = fin.readlines() lines = fin.readlines()
for line in lines: for line in lines:
img_name = line.decode().strip("\n").split("\t")[0] img_name = line.decode().strip("\n").split("\t")[0]
img_path = img_set_dir + "/" + img_name img_path = os.path.join(img_set_dir, img_name)
img_list.append([img_path, img_name]) img_list.append(img_path)
else: else:
img_path = self.params['single_img_path'] img_path = self.params['single_img_path']
img_list = get_image_file_list(img_path) img_list = get_image_file_list(img_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册