Skip to content

Commit

Permalink
[scripts] fixing bug present since #2515 in steps/nnet3/train_raw_{dn…
Browse files Browse the repository at this point in the history
…n,rnn}.py (#2527)
  • Loading branch information
david-ryan-snyder authored and danpovey committed Jul 1, 2018
1 parent 7605fe5 commit c1d6719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/nnet3/train_raw_dnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def train(args, run_opts):

if args.stage <= -1:
logger.info("Preparing the initial network.")
common_train_lib.prepare_initial_network(args.dir, run_opts, args.input_model)
common_train_lib.prepare_initial_network(args.dir, run_opts, args.srand, args.input_model)

# set num_iters so that as close as possible, we process the data
# $num_epochs times, i.e. $num_iters*$avg_num_jobs) ==
Expand Down
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/nnet3/train_raw_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def train(args, run_opts):

if args.stage <= -1:
logger.info("Preparing the initial network.")
common_train_lib.prepare_initial_network(args.dir, run_opts, args.input_model)
common_train_lib.prepare_initial_network(args.dir, run_opts, args.srand, args.input_model)

# set num_iters so that as close as possible, we process the data
# $num_epochs times, i.e. $num_iters*$avg_num_jobs) ==
Expand Down

0 comments on commit c1d6719

Please sign in to comment.