add a file separator

add a  file separator, it mainly  to avoid  missing the file path separator in yml
This commit is contained in:
shaohua.zhang 2020-08-03 21:01:53 +08:00 committed by GitHub
parent e0f3bcb494
commit 08055099a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class EASTProcessTrain(object):
label_infor = label_infor.decode()
label_infor = label_infor.encode('utf-8').decode('utf-8-sig')
substr = label_infor.strip("\n").split("\t")
img_path = self.img_set_dir + substr[0]
img_path = self.img_set_dir + "/" + substr[0]
label = json.loads(substr[1])
nBox = len(label)
wordBBs, txts, txt_tags = [], [], []