Unverified Commit 08055099 authored by shaohua.zhang's avatar shaohua.zhang Committed by GitHub
Browse files

add a file separator

add a  file separator, it mainly  to avoid  missing the file path separator in yml
parent e0f3bcb4
......@@ -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 = [], [], []
......
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