GithubHelp home page GithubHelp logo

summa-platform / summa-asr Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 36 KB

Automatic Speech Recognition Module for the SUMMA platform

License: Other

Makefile 3.03% Dockerfile 8.47% Python 87.69% Shell 0.81%

summa-asr's People

Contributors

ondrejklejch avatar ugermann avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ondrejklejch bbc

summa-asr's Issues

TdnnComponent exception - fa and pt ASRs

I am trying to build/use the summa Farsi asr, I seem to get a "Unknown component type TdnnComponent" exception when I try to run it.

I have attempted to use both the pre-built engine "make asr-engine-fa" and I have also attempted to re-build the engine "make builder && make engine && make asr-engine-fa" yet I always get the same result when I try the ASR out using : -

docker run --rm -t -v /tmp/test_media/test.wav:/test.wav summaplatform/asr-fa:latest ./transcribe.py /model /test.wav

I've tested the other languages and I am able to build and run the de, es, lv, ru, uk ASRs successfully however both the fa, pt ASRs immediately fail due to the TdnnComponent exception e.g. :-

LOG ([5.4.128~369-08b47]:LoadIvector():src/decoder_config.cc:134) Loading IVector extraction info.
LOG ([5.4.128~369-08b47]:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG ([5.4.128~369-08b47]:ComputeDerivedVars():ivector-extractor.cc:204) Done.
ERROR ([5.4.128~369-08b47]:ReadNew():nnet-component-itf.cc:86) Unknown component type TdnnComponent


[ Stack-Trace: ]

kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::nnet3::Component::ReadNew(std::istream&, bool)
kaldi::nnet3::Nnet::Read(std::istream&, bool)
kaldi::nnet3::AmNnetSimple::Read(std::istream&, bool)
alex_asr::Decoder::LoadDecoder()
alex_asr::Decoder::Decoder(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)

python3() [0x57f58c]
.
.
.
PyEval_EvalFrameEx
python3() [0x53fc97]
PyEval_EvalCode
python3() [0x60cb42]
PyRun_FileExFlags
PyRun_SimpleFileExFlags
Py_Main
main
__libc_start_main
_start

Traceback (most recent call last):
  File "./transcribe.py", line 47, in <module>
    asr = create_asr(model)
  File "/opt/app/asr.py", line 53, in create_asr
    recogniser = Decoder(model)
  File "alex_asr/decoder.pyx", line 57, in alex_asr.decoder.Decoder.__init__ (alex_asr/decoder.cpp:979)
RuntimeError

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.