fix bug of det EvalTestreader

This commit is contained in:
LDOUBLEV 2020-05-18 16:39:07 +08:00
parent fb36228861
commit 49aa7698af
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class EvalTestReader(object):
for line in lines:
img_name = line.decode().strip("\n").split("\t")[0]
img_path = os.path.join(img_set_dir, img_name)
img_list.append([img_path])
img_list.append(img_path)
else:
img_path = self.params['single_img_path']
img_list = get_image_file_list(img_path)