kaldi android设备上,How to build kaldi for ARM and Android

博主在一篇更新中提到,他们在全新的Ubuntu 16.04环境中,成功地编译了Kaldi,并使用了OpenBLAS的最新版本0.2.20。他们提供了编译过程的详细bash命令历史记录,指出旧的编译指令可能不适用于新的Android开发套件,因为这些套件仅支持软浮点运算。虽然博主无法在Android设备上测试编译结果,但他们建议Kaldi的makefile和安装指南应更新为最新的依赖和设置。
摘要由CSDN通过智能技术生成

according to your message, it was not clear when the problem happened. So, I just followed all the post instructions right now and it compiled.

I started a new clean environment in Ubuntu 16.04 - 64 bits, downloaded the dependencies and it compiled. I attached a text file with the history of the bash commands I used. I think that if you follow it, you'll have success compiling it. I'm using the new OpenBLAS version (0.2.20), so there are some little differences from that i was using when the post was written. In the attached file you will recognize these differences.

The unique step I couldn't do right now was testing the compiled Kaldi in an Android device. I'm not working these stuffs any more and I don't have such device. Could you please test it?

@danpovey, OpenBLAS updated its code, and they're now supportting soft floating points for arm. New Android dev kits (greater than r14b) only support softfp. But current instructions found in kaldi/srcr/makefiles/android_openblas.mk are using -mfloat-abi=hard -mhard-float -D_NDK_MATH_NO_SOFTFP=1 -lm_hard. I think it would be nice to update kaldi makefile and the post instructions to use the most recent versions of everything. But, as I already told, I'm not working with this any more and I'm not able to test if it's working (I can just compile the code). What do you think about?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值