kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.25k stars 5.32k forks source link

Not all Kaldi libs is compiled for Android #4280

Closed vgritsko closed 3 years ago

vgritsko commented 4 years ago

Hello! I'm trying to compile Kaldi for Android. I use NDK 21.3. But it's seems not all libs is compiled from Kaldi. I see only :

  1. ibkaldi-base.so
  2. libkaldi-cudamatrix.so
  3. libkaldi-feat.so
  4. libkaldi-gmm.so
  5. libkaldi-ivector.so
  6. libkaldi-lm.so
  7. libkaldi-nnet2.so
  8. libkaldi-online2.so
  9. libkaldi-tree.so
  10. libkaldi-chain.so
  11. libkaldi-decoder.so
  12. libkaldi-fstext.so
  13. libkaldi-hmm.so
  14. libkaldi-lat.so
  15. libkaldi-matrix.so
  16. libkaldi-nnet3.so
  17. libkaldi-transform.so
  18. libkaldi-util.so

There are no any errors when is compiling. But why next libs is not compiled: libkaldi-nnet.so libkaldi-online.so libkaldi-kws.so

Thanks.

danpovey commented 4 years ago

I have no idea, I'd first look and see if there's anything different about their Makefiles, or references to their makefiles in src/. There doesn't seem to be though. at least in current checked-in kaldi.

On Wed, Sep 23, 2020 at 6:32 PM Vadim Gritsko notifications@github.com wrote:

Hello! I'm trying to compile Kaldi for Android. I use NDK 21.3. But it's seems not all libs is compiled from Kaldi. I see only :

  1. ibkaldi-base.so
  2. libkaldi-cudamatrix.so
  3. libkaldi-feat.so
  4. libkaldi-gmm.so
  5. libkaldi-ivector.so
  6. libkaldi-lm.so
  7. libkaldi-nnet2.so
  8. libkaldi-online2.so
  9. libkaldi-tree.so
  10. libkaldi-chain.so
  11. libkaldi-decoder.so
  12. libkaldi-fstext.so
  13. libkaldi-hmm.so
  14. libkaldi-lat.so
  15. libkaldi-matrix.so
  16. libkaldi-nnet3.so
  17. libkaldi-transform.so
  18. libkaldi-util.so

There are no any errors when is compiling. But why next libs is not compiled: libkaldi-nnet.so libkaldi-online.so libkaldi-kws.so

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFLO3GYPQMTVDUY3WV3XTSHHFC7ANCNFSM4RW3RD7A .

nshmyrev commented 4 years ago

I believe it is a duplicate of https://github.com/alphacep/vosk-api/issues/225, not really relevant to kaldi

vgritsko commented 4 years ago

I believe it is a duplicate of alphacep/vosk-api#225, not really relevant to kaldi

I clone Kaldi from this repository but have the same libs as Vosk-Api.

NortonAhu commented 4 years ago

I believe it is a duplicate of alphacep/vosk-api#225, not really relevant to kaldi

I clone Kaldi from this repository but have the same libs as Vosk-Api.

I think you try in nnet kwd directory, then make clean;make,if not generate so files it will have error msg

stale[bot] commented 3 years ago

This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.

kkm000 commented 3 years ago

@vgritsko, did you find a workaround?

vgritsko commented 3 years ago

@vgritsko, did you find a workaround?

Hi @kkm000 , yes I just removed "online2" from string : make -j 8 online2 lm .

kkm000 commented 3 years ago

Thanks. I think it's not an issue at the moment, haven't heard of it since. I'm closing this. We can go back to it if it resurfaces.