What should be the input of compute-vad?

589 views
Skip to first unread message

Qianhui Wan

unread,
Sep 22, 2016, 4:01:20 PM9/22/16
to kaldi-help
Hi, I am trying to using compute_vad_decision.sh from /sid on my own dataset, but it failed and generated a log file which contains the usage of compute-vad as following:

# compute-vad --config=conf/vad.conf scp: data/train/split4/1/feats.scp ark,scp:directory/mfcc/vad_train.1.ark,directory/mfcc/vad_train.1.scp
# Started at Thu Sep 22 15:50:34 EDT 2016
#
compute-vad --config=conf/vad.conf scp: data/train/split4/1/feats.scp ark,scp:directory/mfcc/vad_train.1.ark,directory/mfcc/vad_train.1.scp

This program reads input features and writes out, for each utterance,
a vector of floats that are 1.0 if we judge the frame voice and 0.0
otherwise.  The algorithm is very simple and is based on thresholding
the log mel energy (and taking the consensus of threshold decisions
within a window centered on the current frame).  See the options for
more details, and egs/sid/s1/run.sh for examples; this program is
intended for use in speaker-ID.

Usage: compute-vad [options] <feats-rspecifier> <vad-wspecifier>
e.g.: compute-vad scp:feats.scp ark:vad.ark

It seems that the input for compute-vad should be scp:feats.scp ark:vad.ark instead of scp: feats.scp ark,scp:vad.ark,vad.scp. But in this way I won't get vad.scp.

Thank you so much if you could help me with this.

Daniel Povey

unread,
Sep 22, 2016, 4:04:49 PM9/22/16
to kaldi-help
You put a space after "scp:".
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

Qianhui Wan

unread,
Sep 22, 2016, 4:10:41 PM9/22/16
to kaldi-help, dpo...@gmail.com
YES you are right!
Thank you so much!
Reply all
Reply to author
Forward
0 new messages