"PyTorch/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "c0f05c1073d62a459de430e506bdd36b99f238b5"
Commit df050788 authored by tink2123's avatar tink2123
Browse files

sync to python35

parent f8a3c3f9
......@@ -98,7 +98,7 @@ class CharacterOps(object):
if is_remove_duplicate:
if idx > 0 and text_index[idx - 1] == text_index[idx]:
continue
char_list.append(self.character[text_index[idx]])
char_list.append(self.character[int(text_index[idx])])
text = ''.join(char_list)
return text
......
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