Skip to content

Commit

Permalink
Add acoustic scale in decoder init
Browse files Browse the repository at this point in the history
  • Loading branch information
Yibing Liu committed Mar 29, 2018
1 parent 0c5c32d commit a6ca29f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluid/DeepASR/infer_by_ckpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def infer_from_ckpt(args):
fluid.io.load_persistables(exe, args.checkpoint)

# init decoder
decoder = Decoder(args.vocabulary, args.graphs, args.log_prior)
decoder = Decoder(args.vocabulary, args.graphs, args.log_prior,
args.acoustic_scale)

ltrans = [
trans_add_delta.TransAddDelta(2, 2),
Expand Down

0 comments on commit a6ca29f

Please sign in to comment.