"PyTorch/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "01bc05b7a5f94097c8344254cca5d4d0e5e6def3"
Commit 49aa7698 authored by LDOUBLEV's avatar LDOUBLEV
Browse files

fix bug of det EvalTestreader

parent fb362288
...@@ -82,7 +82,7 @@ class EvalTestReader(object): ...@@ -82,7 +82,7 @@ class EvalTestReader(object):
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 = os.path.join(img_set_dir, img_name) img_path = os.path.join(img_set_dir, img_name)
img_list.append([img_path]) 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment