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

audio-server-online2-nnet3 ERROR (audio-server-online2-nnet3[5.2.79~2-ff2ad]:GetNextPack():online-tcp-source.cc:77) TCPVectorSource: Pack size must be even! #3

Open
lufeng0614 opened this issue Nov 22, 2017 · 1 comment

Comments

@lufeng0614
Copy link

你好,在用audio-server-online2-nnet3 解码时,按照readme上的调用方式localhost:5010/'scp:data/wav/wav.scp' 报 如下错误

LOG (audio-server-online2-nnet3[5.2.792-ff2ad]:Collapse():nnet-utils.cc:770) Added 10 components, removed 19
LOG (audio-server-online2-nnet3[5.2.79
2-ff2ad]:CompileLooped():nnet-compile-looped.cc:336) Spent 0.0438321 seconds in looped compilation.
LOG (audio-server-online2-nnet3[5.2.792-ff2ad]:CompileLooped():nnet-compile-looped.cc:336) Spent 0.0702772 seconds in looped compilation.
LOG (audio-server-online2-nnet3[5.2.79
2-ff2ad]:CompileLooped():nnet-compile-looped.cc:336) Spent 0.043834 seconds in looped compilation.
ERROR (audio-server-online2-nnet3[5.2.79~2-ff2ad]:GetNextPack():online-tcp-source.cc:77) TCPVectorSource: Pack size must be even!

[ Stack-Trace: ]
audio-server-online2-nnet3() [0x10f3674]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OnlineTcpVectorSource::GetNextPack()
kaldi::OnlineTcpVectorSource::FillFrame(int)
kaldi::OnlineTcpVectorSource::Read(kaldi::Vector)
kaldi::DecoderPool::ThreadProc(void
)

clone

terminate called after throwing an instance of 'std::runtime_error'
what():
./audio_server_example_nnet2.sh: line 23: 20818 Aborted (core dumped) audio-server-online2-nnet3

请问这是什么原因呢?

@sunyanqing
Copy link
Owner

This case seems to be very abnormal.
It seems that this issue is due to a corrupt wave file (normal package size should be even).
Please check that.

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

2 participants