Yibing Liu

Results comments of Yibing Liu

Can you import ```ccompiler``` from terminal?

Seems that you have installed ```swig_decoders``` successfully

They should be. But usually their installation need the ```sudo``` privileges, we haven't decided whether add them into the setup script.

hi, @fanlu 谢谢你的反馈。你的两个问题,回答如下: 1)我们还没有在mac上测试过decoder的编译,在mac上使用,你可以试用下docker镜像paddlepaddle/models:deep-speech-2,其中所有的依赖已经安装好,稍后会更新在README中; 2)decoder是兼容中文的,注意```ctc_beam_search_decoder.cpp```的第37-43行,如果vocabulary中没有空格,```space_id```就会被赋值为一个无效的index (-2)。 Thanks!

@fanlu 你的理解部分正确,通常的中文语言模型是基于字符的,所以`is_character_based()`这个函数返回值为`true`,对于中文来讲这个if条件始终是满足的(假设`ext_scorer != nullptr`) `blank_id`现在只能是`vocabulary.size()`,但是`space`可以在vocabulary中的任何位置

@fanlu python版的```blank_id```其实也只能是固定的,现在已经改过来了

@fanlu ```blank_id```固定为零不妥,会使vocabulary的index从1开始,比较自然的做法是放到最后

hi @lezasantaizi, 你所用的docker镜像只是paddle的开发镜像,没有包含deep speech 2的依赖,请用这个镜像:paddlepaddle/models:deep-speech-2

按报错来看应该是CUDA驱动版本过低,请尝试一下升级CUDA driver。

@lezasantaizi 这个docker镜像是GPU版,得用nvidia-docker运行。后面我们可以发布一个CPU版的镜像