diff --git a/fluid/DeepASR/infer_by_ckpt.py b/fluid/DeepASR/infer_by_ckpt.py index 679634837a3568918aff84e144416e683993a566..bf6093acb8e14ec926d1aefb759207905e468f8d 100644 --- a/fluid/DeepASR/infer_by_ckpt.py +++ b/fluid/DeepASR/infer_by_ckpt.py @@ -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),