-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
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
CRNN出现str不可用,不知道该怎么修改,求赐教 #44
Comments
你可以看一下在报错之前的一些提示,有些字符没有覆盖到引起的,你把所有涉及的字符添加到字符集里面就可以了 |
不用,你可以看一下148行捕捉的exception,就是因为dict里面缺少字符引发的, |
非常感谢作者提供的解决方案,我已经修改好了该错误。我就粗浅得补充一下,在utils.py中 |
我想问下怎么在这个alphabet.pkl中写入新的字符啊 |
key文件里就是写入alphabet.pkl的程序,注意修改一下数据集中区分fname和label的分隔符,作者使用的是\t,根据自己实际情况修改;另外如果出现SyntaxError: Non-UTF-8 code starting with '\xbc' in file,but no encoding declared报错的话,在最顶上加 # -- coding: utf-8 -- |
这个问题不知道怎么搞,百度没有查出来,不知道是不是我环境问题嘛,麻烦大家看一下
The text was updated successfully, but these errors were encountered: