Skip to content

Conversation

@GaofengCheng
Copy link
Contributor

No description provided.

@GaofengCheng GaofengCheng changed the title adding frame level dropout to TDNN+LSTM on AMI SDM1 #1248 adding frame level dropout to TDNN+LSTM on AMI SDM1 Dec 14, 2016
@GaofengCheng
Copy link
Contributor Author

@danpovey Could you help me merge this into ... #1248

@danpovey
Copy link
Contributor

danpovey commented Dec 14, 2016 via email

@danpovey
Copy link
Contributor

danpovey commented Dec 14, 2016 via email

ihm_gmm=tri3 # the gmm for the IHM system (if --use-ihm-ali true).
num_threads_ubm=32
nnet3_affix=_cleaned # cleanup affix for nnet3 and chain dirs, e.g. _cleaned
dropout_schedule='0,[email protected],[email protected],[email protected],0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will now crash with the new change. But it seems like in some cases this step change is required. So should I change the script to accept the step changes and retain the order?

for decode_set in dev eval; do
(
steps/nnet3/decode.sh --acwt 1.0 --post-decode-acwt 10.0 \
--nj $nj --cmd "$decode_cmd" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that nj < the number of speakers in dev and eval for both sdm and ihm. Otherwise it may crash.
Use nj_dev as min(number of speakers, nj)

dropout_values.append((0, float(parts[0])))

dropout_values.append((0, float(parts[0])))
data_fraction_one_previous='' # used to control situations like: [email protected],[email protected]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make a pull request wrt my branch? I think we made conflicting changes.

affine_str = self.config['ng-affine-options']
pes_str = self.config['ng-per-element-scale-options']
lstm_dropout_value = self.config['dropout-proportion']
lstm_dropout_str = 'dropout-proportion='+str(self.config['dropout-proportion'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 'dropout-proportion={0}'.format( )

'ng-affine-options' : ' max-change=1.5',
'zeroing-interval' : 20,
'zeroing-threshold' : 15.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra line.

@vimalmanohar
Copy link
Contributor

I think the best way is that @GaofengCheng changes this pull request to be wrt my branch in #1248. I will merge that PR to my branch and that will be merged to master in #1248.
I think this way it will be easier for someone to search for specific issues or PRs.

@danpovey
Copy link
Contributor

danpovey commented Dec 14, 2016 via email

@vimalmanohar
Copy link
Contributor

vimalmanohar commented Dec 15, 2016 via email

@GaofengCheng
Copy link
Contributor Author

this PR is merged into #1248

@vimalmanohar
Copy link
Contributor

@GaofengCheng I added a new commit in #1248 for the same data fraction issue. See if that works.
Also you still need to address some of the other comments. I didn't fix those while merging into #1248.

@GaofengCheng
Copy link
Contributor Author

@vimalmanohar thx Vimal, I'll later revised the issues

GaofengCheng added a commit to GaofengCheng/kaldi that referenced this pull request Dec 15, 2016
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

Successfully merging this pull request may close these issues.

3 participants