【e2e】espnet框架安装问题集锦

【e2e】espnet框架安装问题集锦

    搞了两三天终于把端到端工具给安装好(见上图),遇到不少坑。现在把这些坑整理出来,一是记录一下,二是分享出来。

 

问题1:源代码下载太慢,容易超时失败

解 决:pip install -i  https://pypi.tuna.tsinghua.edu.cn/simple (添加新的镜像地址)

 

问题2:venv 屡屡创建失败

解 决:重新make clean 一下即可

 

问题3:pytorch版本与基于python的其它组件(如warprnnt_pytorch、warpctc_pytorch)版本不一致导致的错误

            检查错误如下所示:

 1 . venv/bin/activate; python check_install.py --torch-version 1.0.1
 2 INFO: python version = 3.7.7 (default, May  7 2020, 21:25:33) 
 3 [GCC 7.3.0]
 4 INFO: library availableness check start.
 5 INFO: # libraries to be checked = 9
 6 WARNING: --> espnet is not installed.
 7 INFO: --> kaldiio is installed.
 8 INFO: --> matplotlib is installed.
 9 INFO: --> torch is installed.
10 INFO: --> chainer is installed.
11 INFO: --> chainer_ctc is installed.
12 WARNING: --> warprnnt_pytorch is not installed.
13 INFO: --> cupy is installed.
14 WARNING: --> warpctc_pytorch is not installed.
15 INFO: library availableness check done.
16 INFO: 6 / 9 libraries are correctly installed.
17 INFO: please try to setup again and then re-run this script.
18 Makefile:162: recipe for target check_install failed
19 make: *** [check_install] Error 1

             单独测试warprnnt_pytorch,错误信息如下:

【e2e】espnet框架安装问题集锦

解 决:将python版本由1.0.1改为1.3.1

【e2e】espnet框架安装问题集锦

上一篇:element-ui组件库二次开发——打包、上传npm


下一篇:针对Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解决方案