问题:
运行recognize.py预测时出现
UnicodeEncodeError: 'ascii' codec can't encode character '\u751a' in position 6: ordinal not in range(128)
解决方法:
环境变量中新增: export PYTHONIOENCODING=UTF-8
运行recognize.py预测时出现
UnicodeEncodeError: 'ascii' codec can't encode character '\u751a' in position 6: ordinal not in range(128)
环境变量中新增: export PYTHONIOENCODING=UTF-8