diff --git a/fluid/DeepASR/tools/profile.py b/fluid/DeepASR/tools/profile.py index 02e3b4f67ae93cd26c70fca08398a069f362686d..d25e18f7db0111acf76e66478f8230aab1d5f760 100644 --- a/fluid/DeepASR/tools/profile.py +++ b/fluid/DeepASR/tools/profile.py @@ -155,7 +155,8 @@ def profile(args): trans_splice.TransSplice(5, 5), trans_delay.TransDelay(5) ] - data_reader = reader.AsyncDataReader(args.feature_lst, args.label_lst, -1) + data_reader = reader.AsyncDataReader( + args.feature_lst, args.label_lst, -1, split_sentence_threshold=1024) data_reader.set_transformers(ltrans) feature_t = fluid.LoDTensor()