This commit is contained in:
Jia Guo
2018-02-05 22:22:39 +08:00
parent a9255a6130
commit 8e7927d29d
3 changed files with 21 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ def parse_lst_line(line):
vec = line.strip().split("\t")
assert len(vec)>=3
aligned = False
if int(vec[0])==1:
if int(vec[0])>0:
aligned = True
image_path = vec[1]
label = int(vec[2])