Skip to content

Remove touch in fisher_swbd/s5/local/chain/run_blstm_6h.sh#1320

Merged
danpovey merged 2 commits intokaldi-asr:masterfrom
stanleyguan:stan/mkdir_bf_touch
Jan 7, 2017
Merged

Remove touch in fisher_swbd/s5/local/chain/run_blstm_6h.sh#1320
danpovey merged 2 commits intokaldi-asr:masterfrom
stanleyguan:stan/mkdir_bf_touch

Conversation

@stanleyguan
Copy link
Contributor

I think the directory does not exist before running train.py

@naxingyu
Copy link
Contributor

naxingyu commented Jan 6, 2017

@danpovey LGTM. But do we still need this? It was for tuning and should be deprecated now?


touch $dir/egs/.nodelete # keep egs around when that run dies.
# keep egs around when that run dies.
mkdir $dir/egs
Copy link
Contributor

Choose a reason for hiding this comment

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

it would be better to just remove the "touch" command altogether-- in any case the 'mkdir' command would cause the script to die if run after partial run since the dir would already exist [would need the -p].

Copy link
Contributor Author

@stanleyguan stanleyguan Jan 6, 2017

Choose a reason for hiding this comment

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

So if training dies in one of the iterations, without the "touch" I can still restart from that iteration without having to create egs again?

@danpovey
Copy link
Contributor

danpovey commented Jan 6, 2017 via email

@stanleyguan stanleyguan changed the title touch fails before directory creation Remove touch in fisher_swbd/s5/local/chain/run_blstm_6h.sh Jan 7, 2017
@stanleyguan
Copy link
Contributor Author

Made a new commit to remove touch.

@danpovey danpovey merged commit 735b2b1 into kaldi-asr:master Jan 7, 2017
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