We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1)去掉 python 脚本中的 unicode: 例如:process_anno_file.py ustr = unicode(token.decode('utf8')) # 去掉unicode 2)去掉python脚本中的decode("utf8"): 例如:sentence.py x.append(vob.GetWordIndex(str(t[0].encode("utf8")))) # 去掉.encode("utf8")
The text was updated successfully, but these errors were encountered:
@jackycaf 你好我在运行bazel build kcws/train:generate_training这句命令的时候发生了python2转3错误 按照你提的issue改了train目录下的python文件后还是报错 请问能具体说一下怎么改吗? 我把unicode、decode、encode都去掉了 谢谢
Sorry, something went wrong.
解决了吗?
No branches or pull requests
1)去掉 python 脚本中的 unicode:
例如:process_anno_file.py
ustr = unicode(token.decode('utf8')) # 去掉unicode
2)去掉python脚本中的decode("utf8"):
例如:sentence.py
x.append(vob.GetWordIndex(str(t[0].encode("utf8")))) # 去掉.encode("utf8")
The text was updated successfully, but these errors were encountered: