Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem of alex-asr #6

Open
sawibrah opened this issue Dec 25, 2019 · 0 comments
Open

Installation problem of alex-asr #6

sawibrah opened this issue Dec 25, 2019 · 0 comments

Comments

@sawibrah
Copy link

Hello,
I want to use the alex_asr (https://github.com/UFAL-DSG/alex-asr) for deploying my kaldi model. By installing it, I get the following error message:

******************Message *************************
g++ -msse -msse2 -Wall -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -g -Ilibs/kaldi/tools/openfst//include -Ilibs/kaldi/src -Ilibs/kaldi/tools/ATLAS/include -Ilibs/kaldi/tools/CLAPACK -Wno-sign-compare -I. -fPIC -c -o src/decoder.o src/decoder.cc
In file included from ./src/decoder_config.h:15:0,
from ./src/decoder.h:8,
from src/decoder.cc:1:
./src/utils.h:63:48: error: ‘vector’ has not been declared
vector alpha,
^~~~~~
./src/utils.h:63:54: error: expected ‘,’ or ‘...’ before ‘<’ token
vector alpha,
^
src/decoder.cc: In member function ‘bool alex_asr::Decoder::GetBestPath(std::vector
, kaldi::BaseFloat
)’:
src/decoder.cc:190:50: error: ‘vector’ does not name a type; did you mean ‘perror’?
static_cast<vector *>(0),
^~~~~~
perror
src/decoder.cc:190:56: error: expected ‘>’ before ‘<’ token
static_cast<vector *>(0),
^
src/decoder.cc:190:56: error: expected ‘(’ before ‘<’ token
src/decoder.cc:190:56: error: expected primary-expression before ‘<’ token
src/decoder.cc:190:62: error: expected primary-expression before ‘>’ token
static_cast<vector *>(0),
^
src/decoder.cc:190:65: error: expected primary-expression before ‘>’ token
static_cast<vector *>(0),
^
src/decoder.cc: In member function ‘int32 alex_asr::Decoder::TrailingSilenceLength()’:
src/decoder.cc:241:58: error: no matching function for call to ‘TrailingSilenceLength(kaldi::TransitionModel&, std::cxx11::string&, kaldi::LatticeFasterOnlineDecoder&)’
*decoder
);
^
In file included from ./src/decoder_config.h:12:0,
from ./src/decoder.h:8,
from src/decoder.cc:1:
libs/kaldi/src/online2/online-endpoint.h:192:7: note: candidate: template<class FST, class DEC> int32 kaldi::TrailingSilenceLength(const kaldi::TransitionModel&, const string&, const DEC&)
int32 TrailingSilenceLength(const TransitionModel &tmodel,
^~~~~~~~~~~~~~~~~~~~~
libs/kaldi/src/online2/online-endpoint.h:192:7: note: template argument deduction/substitution failed:
src/decoder.cc:241:58: note: couldn't deduce template parameter ‘FST’
*decoder
);
^
: recipe for target 'src/decoder.o' failed
make: *** [src/decoder.o] Error 1
error: [Errno 2] No such file or directory: 'setup.py.add_libs'

I need your help please.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant