按照readme 一步一步执行的, infer 时报错。
Created by: xinzheshen
@lfchener 我看报错这行代码是您最近添加的,我是pip安装的环境, 并按照readme 一步步执行的,但执行到infer时报错,是readme过时了吗?谢谢。 Traceback (most recent call last): File "/home/shenxz/.IdeaIC2019.2/config/plugins/python-ce/helpers/pydev/pydevd.py", line 1415, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "/home/shenxz/code/DeepSpeech/infer.py", line 152, in main() File "/home/shenxz/code/DeepSpeech/infer.py", line 148, in main infer() File "/home/shenxz/code/DeepSpeech/infer.py", line 94, in infer infer_data = next(batch_reader()) File "/home/shenxz/code/DeepSpeech/data_utils/data.py", line 203, in batch_reader yield self._padding_batch(batch, padding_to, flatten) File "/home/shenxz/code/DeepSpeech/data_utils/data.py", line 333, in _padding_batch texts = np.expand_dims(np.array(texts).astype('int32'), axis=-1) ValueError: invalid literal for int() with base 10: 'he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flour fattened sauce'