首页 > 其他分享 >ESPnet Installation

ESPnet Installation

时间:2023-10-12 11:47:50浏览次数:45  
标签:ESPnet Installation make cd sh install espnet tools

https://blog.csdn.net/qq_41651719/article/details/115897162?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169708026216800225560761%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=169708026216800225560761&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-16-115897162-null-null.142^v96^pc_search_result_base6&utm_term=%E5%AE%89%E8%A3%85espnet&spm=1018.2226.3001.4187

 

Reference
https://espnet.github.io/espnet/installation.html
1
Step 1 Install Kaldi
Espnet 依赖 Kaldi,所以安装Kaldi的同时要对其进行编译,具体的编译步骤如下:
$ cd ~/kaldi/tools
$ make (make -j)
$ cd ~/kaldi/src
$ ./configure
$ make -j
$ make install
1
2
3
4
5
6
7
Step 2 Installation ESPnet
1. git clone https://github.com/espnet/espnet
2. 把编译好的kaldi路径与espnet联系起来
$ cd ~/espnet/tools
$ ln -s ~/kaldi
3. 设置Python 环境
在这一步中,官网的安装教程列出了4中不同的选项,可以根据实际选择自己比较方 便的,本人选择的是option c,即
$ cd espnet/tools
$ ./setup_python.sh python3
4. Install ESPnet
$ cd espnet/tools
$ make
同时可指定pytorch和CUDA的版本,由于工作环境 服务器CUDA版本已确定,所以在这里安装的pytorch和CUDA版本分别为1.4.0 和10.0.
1
2
3
4
5
6
7
8
9
10
11
12
Step 3 Custom tool installation
安装各种工具时。一定要按照官网的教程来安装,否则会报错。
比如,install Warp CTC
$ cd espnet/tools
$ ./activate_python.sh
$ . ./setup_cuda_env.sh /usr/local/cuda
$ ./installers/install_warp-ctc.sh

同时,可用脚本check_install.py来检查哪些工具还未安装
$ cd espnet/tools
$ . ./activate_python.sh
$ python3 check_install.py
————————————————
版权声明:本文为CSDN博主「Marine Zhang」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41651719/article/details/115897162

标签:ESPnet,Installation,make,cd,sh,install,espnet,tools
From: https://www.cnblogs.com/wcxia1985/p/17759123.html

相关文章

  • Kaldi+ESPnet安装指南
    https://blog.csdn.net/weixin_43566049/article/details/131851128?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169708026216800225560761%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=1697080262168002255607......
  • ESPnet搭建记录
    https://blog.csdn.net/nwnu_908/article/details/117665566?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_utm_term~default-1-117665566-blog-103500422.235^v38^pc_relevant_anti_t3&spm=1001.2101.3001.4242.1&utm_relevant_index=4 ES......
  • 挑战程序设计竞赛 2.2 poj 1328 Radarinstallation
    https://vjudge.net/problem/POJ-1328假设海岸线是一条无限长的直线。陆地在海岸线的一边,海洋在另一边。每个小岛都是位于海边的一个点。而位于海岸线上的任何雷达装置都只能覆盖d的距离,因此,如果两者之间的距离最多为d,那么海中的一个小岛就可以被一个半径为d的装置覆盖。......
  • OGG报错 INS-85054 in oggca.sh createing a new Service Manager after removing a p
    这个报错主要是ogg的自启动和目录问题DeletethefollowingfilesattheOSlevel:Linux7/etc/systemd/system/OracleGoldenGate.service/etc/oggInst.locLinux6/etc/init.d/OracleGoldenGate/etc/rc.d/*OracleGoldenGate/etc/rc*.d/*OracleGoldenGate/etc/oggInst......
  • ## Could not find a working installation of Boost.
     001、问题 002、解决方法(base)[[email protected]]#yum-yinstallboostboost-devel(base)[[email protected]]#yum-yinstallgcc-c++.x86_64gperf 参考:https://code84.com/754823.html ......
  • 已解决The following specifications were found to be incompatible with the existi
    已解决Thefollowingspecificationswerefoundtobeincompatiblewiththeexistingpythoninstallation文章目录报错问题解决方法PS报错问题之前在工作中遇到过这个坑,记录一下问题以及解决方法,不一定针对所有情况都能用,但是可以供大家参考。问题描述如下:UnsatisfiableErr......
  • Idea 启动报错Error: A JNI error has occurred, please check your installation and
    idea运行程序的时候,出现Error:AJNIerrorhasoccurred,pleasecheckyourinstallationandtryagain这个错误的话,抛出异常:java.lang.NoClassDefFoundError:org/springframework/web/socket/server/standard/ServerEndpointExporter atjava.lang.Class.getDeclaredMetho......
  • 无涯教程-PHP Installation on Windows NT/2000/XP with Apache函数
    要在Windows上使用PHP5安装Apache,请执行以下步骤。如果您的PHP和Apache版本不同,请相应注意。从www.apache.org/dist/httpd/binaries/win32下载Apache服务器。您需要具有no_src.msi扩展名的当前稳定发行版。双击安装程序文件进行安装;C:\ProgramFiles是一个常见的位置。安装......
  • IBM DB2 Installation on Red Hat Enterprise Linux
    IBMDB2databasecanbeinstalledonLinux,UNIX,orWindowsoperatingsystems.WearegoingtoinstallDB2Version10.1onRedHatEnterpriseLinuxServerfromthecommandinterface.IBMDB2isanext-generationdataplatformfortransactionalandanalyt......
  • Go - installation
    GoinstallationSelectthetabforyourcomputer'soperatingsystembelow,thenfollowitsinstallationinstructions. RemoveanypreviousGoinstallationbydeletingthe/usr/local/gofolder(ifitexists),thenextractthearchiveyoujustdownlo......