teps/decode.sh: Scoring failed. (ignore by '--skip-scoring true')

523 views
Skip to first unread message

Lescusious

unread,
Jun 4, 2018, 11:33:28 AM6/4/18
to kaldi-help

I run TIMIT eggs example.

In step I have an trouble:  "steps/decode.sh: Scoring failed. (ignore by '--skip-scoring true')".
I set up to --skip-scoring=true, but "Scoring failed." happans to me each time I run.sh.

============================================================================
                     MonoPhone Training & Decoding                       
============================================================================
steps/train_mono.sh --nj 30 --cmd run.pl data/train data/lang exp/mono
steps/train_mono.sh: Initializing monophone system.
steps/train_mono.sh: Compiling training graphs
steps/train_mono.sh: Aligning data equally (pass 0)
steps/train_mono.sh: Pass 1
steps/train_mono.sh: Aligning data
................................
steps/train_mono.sh: Aligning data
steps/train_mono.sh: Pass 39
steps/diagnostic/analyze_alignments.sh --cmd run.pl data/lang exp/mono
steps/diagnostic/analyze_alignments.sh: see stats in exp/mono/log/analyze_alignments.log
2 warnings in exp/mono/log/align.*.*.log
exp/mono: nj=30 align prob=-99.15 over 3.12h [retry=0.0%, fail=0.0%] states=144 gauss=986
steps/train_mono.sh: Done training monophone system in exp/mono
-0.00841336 -0.00928521
-0.00841336 -0.00928521
0.000381709 -0.00951555
steps/decode.sh --nj 5 --cmd run.pl exp/mono/graph data/dev exp/mono/decode_dev
decode.sh: feature type is delta
steps/diagnostic/analyze_lats.sh --cmd run.pl exp/mono/graph exp/mono/decode_dev
steps/diagnostic/analyze_lats.sh: see stats in exp/mono/decode_dev/log/analyze_alignments.log
Overall, lattice depth (10,50,90-percentile)=(5,25,121) and mean=60.6
steps/diagnostic/analyze_lats.sh: see stats in exp/mono/decode_dev/log/analyze_lattice_depth_stats.log
steps/decode.sh: Scoring failed. (ignore by '--skip-scoring true')

-----------------------------------------------------------------------------------------------------------------------------
Could you help me, what is wrong?

Daniel Povey

unread,
Jun 4, 2018, 3:20:04 PM6/4/18
to kaldi-help
If the scoring failed it would have printed something.
I suspect that you edited either steps/decode.sh or local/score.sh.
"git status" will tell you whether you changed something.
> --
> Go to http://kaldi-asr.org/forums.html find out how to join
> ---
> 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 post to this group, send email to kaldi...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/kaldi-help/817b4773-73f8-4ae1-8dc4-5d56465c2a9e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Lescusious

unread,
Jun 5, 2018, 5:41:25 AM6/5/18
to kaldi-help
Thank you for your reply. You are right, the paths in the files changed. I found the missing symbol in "$ dir ||"

if! $ skip_scoring; then
   [! -x local / score.sh] && \
     echo "Not scoring because local / score.sh does not exist or not executable." && exit 1;
   local / score.sh --cmd "$ cmd" $ scoring_opts $ data $ graphdir $ dir ||
     {echo "$ 0: Scoring failed. (ignore by '- skip-scoring true')"; exit 1; }
fi.
----------------------------------------------------------------------------------------------------------------------------------------------
But now I was stopped at step:

============================================================================
                        SGMM2 Training & Decoding                        
============================================================================
steps/align_fmllr.sh --nj 30 --cmd run.pl data/train data/lang exp/tri3 exp/tri3_ali
steps/align_fmllr.sh: feature type is lda
steps/align_fmllr.sh: compiling training graphs
steps/align_fmllr.sh: aligning data in data/train using exp/tri3/final.alimdl and speaker-independent features.
steps/align_fmllr.sh: computing fMLLR transforms
steps/align_fmllr.sh: doing final alignment.
steps/align_fmllr.sh: done aligning data.
steps/diagnostic/analyze_alignments.sh --cmd run.pl data/lang exp/tri3_ali
steps/diagnostic/analyze_alignments.sh: see stats in exp/tri3_ali/log/analyze_alignments.log
---------------------------------------------------------------------------------------------------------------------------------------
Is it right or somesing goes wrong way ?


2018, 22:20:04 UTC+3  Dan Povey написал:

Daniel Povey

unread,
Jun 5, 2018, 12:49:52 PM6/5/18
to kaldi-help
I don't see anything wrong in the output you pasted.


Dan
> https://groups.google.com/d/msgid/kaldi-help/cb08b646-a5cf-4024-9979-8a511b5f6937%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages