copy-feat and copy-vector

202 views
Skip to first unread message

PentaM Osman

unread,
Mar 28, 2021, 8:47:17 AM3/28/21
to kaldi...@googlegroups.com
Hello
I tried to write the x-vectors generated in to a readable text file as follows:

/media/mo/New_volume/kaldi/src/bin/copy-vector scp:/media/mo/New_volume/kaldi/egs/sre16/xvector/expgerman/female/xvectors_trn_combined/xvector.1.scp ark,t:/media/mo/New_volume/kaldi/egs/sre16/xvector/expgerman/female/xvectors_trn_combined/xvectors_trn1_readable.txt

But it failed to generate the numbers from the binary format .ark files

It shows this error
/media/mo/New_volume/kaldi/src/bin/copy-vector scp:/media/mo/New_volume/kaldi/egs/sre16/xvector/expgerman/female/xvectors_trn_combined/xvector.1.ark ark,t:/media/mo/New_volume/kaldi/egs/sre16/xvector/expgerman/female/xvectors_trn_combined/xvectors_trn1_readable.txt
WARNING (copy-vector[5.5.888~1531-d619]:EnsureObjectLoaded():util/kaldi-table-inl.h:310) Failed to open file ''
ERROR (copy-vector[5.5.888~1531-d619]:Value():util/kaldi-table-inl.h:164) Failed to load object from '' (to suppress this error, add the permissive (p, ) option to the rspecifier.

[ Stack-Trace: ]
/media/mo/New_volume/kaldi/src/bin/copy-vector(kaldi::MessageLogger::LogMessage() const+0x77b) [0x558f8e027a67]
/media/mo/New_volume/kaldi/src/bin/copy-vector(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x25) [0x558f8dfa7b2f]
/media/mo/New_volume/kaldi/src/bin/copy-vector(kaldi::SequentialTableReaderScriptImpl<kaldi::KaldiObjectHolder<kaldi::Vector<float> > >::Value()+0x8f7) [0x558f8dfadd35]
/media/mo/New_volume/kaldi/src/bin/copy-vector(kaldi::SequentialTableReader<kaldi::KaldiObjectHolder<kaldi::Vector<float> > >::Value()+0x16) [0x558f8dfae32a]
/media/mo/New_volume/kaldi/src/bin/copy-vector(main+0x53f) [0x558f8dfa6fe8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fd72e5920b3]
/media/mo/New_volume/kaldi/src/bin/copy-vector(_start+0x2e) [0x558f8dfa69ee]
kaldi::KaldiFatalError


Could you please help me, I need to get it done.

Thank you

Daniel Povey

unread,
Mar 28, 2021, 10:44:56 AM3/28/21
to kaldi-help
you are trying to read from
scp:something.ark
i.e. trying to interpret an ark file as an scp file.
perhaps should be
ark:something.ark
Read "Kaldi I/O from a command line perspective" (look it up..)

--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/CAMZo_6C2w6Ucg0jDk6u9XyAKp4pY24LBD9%3D055bK1dOTVxAhNg%40mail.gmail.com.

PentaM Osman

unread,
Apr 6, 2021, 3:17:41 PM4/6/21
to kaldi-help
Thank you
Reply all
Reply to author
Forward
0 new messages