Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding frame level dropout to TDNN+LSTM on AMI SDM1 #1264

Closed
wants to merge 15 commits into from

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,0@0.20,0.5@0.50,0@0.50,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: 0.2@0.75,0@0.75
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.

@@ -339,6 +345,8 @@ def generate_lstm_config(self):
abs(delay)))
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( )

@@ -745,6 +761,7 @@ def set_default_configs(self):
'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