安装kaldi遇到问题的解决办法

在Kaldi项目中遇到OpenFst配置失败的问题,通过在kaldi.tools目录下执行`makeopenfst`来安装OpenFst。之后,针对Cub库的缺失,下载cub-1.8.0.tar.gz并拷贝到kaldi/tools,运行`makecub`进行安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、OpenFst问题

Checking compiler g++ ...
Checking OpenFst library in ...
***configure failed: Could not find file /include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL ***
1
2
3
4
经过查看其他人的做法,我到kaldi.tools 目录下用make安装了openfst
即:

cd tools
make openfst

2、cub

Checking compiler c++ ...
Checking OpenFst library in /root/kaldi/tools/openfst-1.7.2 ...
Checking cub library in  ...
***configure failed: Could not find file /cub/cub.cuh:
  you may not have installed cub.  Go to ../tools/ and type
  'make cub' to download and unpack it. We'll detect it then. ***
从网上下载一个cub-1.8.0.tar.gz,然后将这个文件拷贝到kaldi/tools目录下,最后make cub。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值