Skip to content

Add augmentation option to train_raw_dnn.py#1585

Merged
danpovey merged 6 commits intokaldi-asr:kaldi_52from
hhadian:cifar
Apr 27, 2017
Merged

Add augmentation option to train_raw_dnn.py#1585
danpovey merged 6 commits intokaldi-asr:kaldi_52from
hhadian:cifar

Conversation

@hhadian
Copy link
Contributor

@hhadian hhadian commented Apr 26, 2017

It seems github is acting odd. It includes my previous commits everytime but merges them w/o a problem, so we are fine I guess.

I tried augmentation (only flipping and vertical shift, I'll fix horizontal shift after I'm done with trying dropout) with the same config as 1a, and I got 79.5% final valid accuracy.

@hhadian hhadian changed the title Cifar Add augmentation option to train_raw_dnn.py Apr 26, 2017
@danpovey
Copy link
Contributor

I think it's because I previously committed using 'squash and merge', so those exact commits are not showing up. If you were to rebase against kaldi_52, the issue would probably go away. But I can merge anyway.

raw_model_string, egs_dir,
momentum, max_param_change,
shuffle_buffer_size, minibatch_size_str,
image_augmentation_opts,
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to have this default to None; otherwise this function would crash when called from elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. I guess the same goes with train_new_models, right?

@danpovey
Copy link
Contributor

danpovey commented Apr 26, 2017 via email

@hhadian
Copy link
Contributor Author

hhadian commented Apr 26, 2017

train_new_models is only called train_one_iteration but I guess it might be safer to default it to None anyway.

@danpovey danpovey merged commit 1d5d9de into kaldi-asr:kaldi_52 Apr 27, 2017
Skaiste pushed a commit to Skaiste/idlak that referenced this pull request Sep 26, 2018
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.

2 participants