steps/nnet3/train_dnn.py training/validation loss output

109 views
Skip to first unread message

jeyhou...@gmail.com

unread,
Feb 25, 2019, 8:34:58 AM2/25/19
to kaldi-help
I'm using tedlium recipe to train chain/tdnn models and was wondering if there is a simple way of asking the training script (steps/nnet3/train_dnn.py) to print the training loss value for each iteration?
(also on some dev set as well)

Daniel Povey

unread,
Feb 25, 2019, 3:22:04 PM2/25/19
to kaldi-help
That script may not even work any more.  You must be using an outdated recipe.  You should be focusing on scripts like local/chain/run_tdnn.sh.


On Mon, Feb 25, 2019 at 8:34 AM <jeyhou...@gmail.com> wrote:
I'm using tedlium recipe to train chain/tdnn models and was wondering if there is a simple way of asking the training script (steps/nnet3/train_dnn.py) to print the training loss value for each iteration?
(also on some dev set as well)

--
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/b037a933-4fdb-4317-904b-67900cbb37b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeyhoun Marks

unread,
Feb 25, 2019, 6:40:30 PM2/25/19
to kaldi...@googlegroups.com
for tedlium, I can see run_tdnnf.sh in egs/tedlium/s5_r3/local/chain - is this the recommended one?
(training with around 700h of data)

You received this message because you are subscribed to a topic in the Google Groups "kaldi-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kaldi-help/UAKh81Oapyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kaldi-help+...@googlegroups.com.

To post to this group, send email to kaldi...@googlegroups.com.

Daniel Povey

unread,
Feb 25, 2019, 6:59:57 PM2/25/19
to kaldi-help
It kind of works but it's a buggy configuration.  You would do better to copy the current TDNN-F script from tedlium s5_r2.  You could make a PR with that change.  You can call it run_tdnn.sh, but make it a soft link to tuning/run_tdnn_1a.sh.  
The reason I haven't done it is that it needs WERs, which I don't have time to get right now.

Dan

jeyhou...@gmail.com

unread,
Feb 26, 2019, 6:13:49 AM2/26/19
to kaldi-help
thanks, will use that one then
also created this PR: https://github.com/kaldi-asr/kaldi/pull/3056
Reply all
Reply to author
Forward
0 new messages